1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-03 23:52:51 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

deploy script

This commit is contained in:
2022-04-03 23:46:17 +08:00
parent f62bfed97f
commit 0ab16b17e3

View File

@@ -0,0 +1,13 @@
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 &