3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00

refactor: tweaked update scripts

This commit is contained in:
CodeTheDev 2022-08-05 22:49:18 -04:00
parent 3477966a35
commit 76da3c82b4
No known key found for this signature in database
GPG key ID: AF9160D3CEA9B223
3 changed files with 0 additions and 18 deletions

View file

@ -1,18 +1,10 @@
#!/bin/bash
TARGET_DIR=/var/www/zeppelin.gg
# Load nvm
. ~/.nvm/nvm.sh
# Update dashboard
cd dashboard
git pull
nvm use
npm ci
npm run build
rm -r $TARGET_DIR/*
cp -R dist/* $TARGET_DIR
# Return
cd ..