17 lines
223 B
Text
17 lines
223 B
Text
|
#!/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
|