remove git hacks
This commit is contained in:
parent
e77051ccc4
commit
8848ad1297
|
@ -3,9 +3,5 @@
|
||||||
# failures are evil
|
# failures are evil
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# export the GIT env vars we need to have links in the footer
|
|
||||||
export GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
|
|
||||||
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
|
|
||||||
|
|
||||||
# run hugo in local server mode, show all stuff
|
# run hugo in local server mode, show all stuff
|
||||||
exec hugo server -D --buildFuture
|
exec hugo server -D --buildFuture
|
||||||
|
|
|
@ -6,10 +6,6 @@ set -e
|
||||||
# update our clone
|
# update our clone
|
||||||
git pull -q &> /dev/null
|
git pull -q &> /dev/null
|
||||||
|
|
||||||
# export the GIT env vars we need to have links in the footer
|
|
||||||
export GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
|
|
||||||
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
|
|
||||||
|
|
||||||
# rerun hugo generator
|
# rerun hugo generator
|
||||||
hugo --minify --noTimes
|
hugo --minify --noTimes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue