mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-05 08:31:37 +08:00
deploy script
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