File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33set -e
44
55if [ -d " /home/feross/www/build-studynotes.org" ]; then
6- echo " ERROR: Build folder already exists. Is another build in progress?"
6+ echo " ERROR: Build folder exists. Is another build in progress?"
77 exit 1
88fi
99
@@ -17,7 +17,7 @@ cp -R /home/feross/www/studynotes.org /home/feross/www/build-studynotes.org
1717cd /home/feross/www/build-studynotes.org && git pull
1818cd /home/feross/www/build-studynotes.org && rm -rf node_modules
1919cd /home/feross/www/build-studynotes.org && npm ci --no-progress
20- cd /home/feross/www/build-studynotes.org && npm run build
20+ cd /home/feross/www/build-studynotes.org && npm run build --if-present
2121cd /home/feross/www/build-studynotes.org && npm prune --production --no-progress
2222
2323sudo supervisorctl stop studynotes-site:
You can’t perform that action at this time.
0 commit comments