2019-04-15 20:00:00 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# failures are evil
|
|
|
|
set -e
|
|
|
|
|
2019-08-04 12:03:31 +02:00
|
|
|
# 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`
|
|
|
|
|
2019-04-15 20:00:00 +02:00
|
|
|
# run hugo in local server mode, show all stuff
|
2021-01-24 21:39:31 +01:00
|
|
|
exec hugo server -D --buildFuture
|