补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 30s
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 30s
This commit is contained in:
parent
ecbc72465f
commit
93f5e58257
@ -47,8 +47,8 @@ jobs:
|
||||
port: ${{ secrets.SERVER_PORT }}
|
||||
source: target/${{ vars.JAR_NAME }}
|
||||
target: /home/tools/${{ vars.APP_NAME }}/package
|
||||
# 停止原版应用
|
||||
- name: 使用新版jar包启动应用
|
||||
# 停止原应用
|
||||
- name: 停止原应用
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SERVER_HOST }}
|
||||
@ -56,7 +56,7 @@ jobs:
|
||||
password: ${{ secrets.SERVER_PASSWORD }}
|
||||
port: ${{ secrets.SERVER_PORT }}
|
||||
script: |
|
||||
if screen -list | grep -q 'PetGuardian'; then screen -S PetGuardian -X quit
|
||||
"if screen -list | grep -q 'PetGuardian'; then screen -S PetGuardian -X quit"
|
||||
# 使用新版jar包启动应用
|
||||
- name: 使用新版jar包启动应用
|
||||
uses: appleboy/ssh-action@master
|
||||
|
Loading…
x
Reference in New Issue
Block a user