mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-10-07 00:15:15 +08:00
Merge branch 'deploy' into develop
This commit is contained in:
13
deploy-only(run on root).sh
Normal file
13
deploy-only(run on root).sh
Normal 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 &
|
Reference in New Issue
Block a user