export git env stuff always
This commit is contained in:
parent
3f70c0e874
commit
457e894d35
2 changed files with 6 additions and 1 deletions
|
@ -6,10 +6,11 @@ set -e
|
|||
# update our clone
|
||||
git pull -q &> /dev/null
|
||||
|
||||
# rerun hugo generator
|
||||
# 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
|
||||
./hugo --minify
|
||||
|
||||
# copy .htaccess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue