Files
dashboard/start_latest.sh

12 lines
204 B
Bash
Executable File

git reset HEAD --hard &&
git pull &&
cd backend &&
rm -r ./frontend &&
mkdir frontend &&
npm i &&
cd ../frontend &&
npm i &&
npm run build &&
mv ./build/* ../backend/frontend &&
cd ../backend &&
npm start