public_notes/githook/post-receive.d/quartz

17 lines
223 B
Text
Raw Permalink Normal View History

2024-08-22 17:51:28 +09:00
#!/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