summaryrefslogtreecommitdiff
path: root/server.sh
blob: aff2dfefbd11a75b4d73c1c29d5deec60c908178 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# failures are evil
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
exec hugo server -D --buildFuture