1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-05 08:31:37 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
bookshelfplus/deploy-only(run on root).sh
2022-04-03 23:54:52 +08:00

13 lines
270 B
Bash

git reset HEAD --hard
git checkout deploy
git pull
git merge develop
git push
sudo chown -R www-data:www-data ../bookshelf.plus/
sudo chmod -R 755 ../bookshelf.plus/
pm2 restart bookshelfplus-frontend
java -jar ./bookshelfplus/target/bookshelfplus-1.0-SNAPSHOT.jar &