mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-05 08:31:37 +08:00
13 lines
270 B
Bash
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 & |