Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 484 Bytes
GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
generate:
rm -Rf public/*
env GIT_COMMIT_SHA=`git rev-parse --verify HEAD` GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` hugo
deploy: generate
rsync -avrpz --delete-after public/ atik.zentience.net:/var/www/m.lieba.ch
serve:
env GIT_COMMIT_SHA=`git rev-parse --verify HEAD` GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` hugo serve
post:
./make-post
clean:
rm -Rf public