blob: 9ab2aa8dc1108aa49d6509c21bba566471fd57cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/sh
set -e
commit=`git log -n1 --format=%H`
rm -rf public/*
hugo --minify
pushd public
git add --all .
git commit -m "Published from $commit"
git push
popd
|