16 lines
223 B
Bash
Executable file
16 lines
223 B
Bash
Executable file
#!/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
|