Commit 9036438e authored by Christoph Cullmann's avatar Christoph Cullmann

add normal hugo v0.56.3, no longer need custom build hugo extended

parent fdaa5913
No preview for this file type
...@@ -3,5 +3,9 @@ ...@@ -3,5 +3,9 @@
# 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,11 @@ set -e ...@@ -6,10 +6,11 @@ set -e
# update our clone # update our clone
git pull -q &> /dev/null git pull -q &> /dev/null
# rerun hugo generator
# export the GIT env vars we need to have links in the footer # 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=`git rev-parse --verify HEAD`
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
# rerun hugo generator
./hugo --minify ./hugo --minify
# copy .htaccess # copy .htaccess
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment