diff --git a/githook/post-receive.d/quartz b/githook/post-receive.d/quartz new file mode 100755 index 0000000..2903316 --- /dev/null +++ b/githook/post-receive.d/quartz @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +WORKING_DIR=/var/www/tmp/public_notes/ + +echo 'Running quartz build script..' +pushd $WORKING_DIR +echo `whoami` + +echo 'working.. at' +echo `pwd` +git --git-dir=.git pull +npm install +npx quartz build + + + +popd