补充完整的actions配置

This commit is contained in:
hxuanyu 2024-11-04 18:28:58 +08:00
parent 93f5e58257
commit 5d2e60c108

View File

@ -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"
screen -list | grep -q "PetGuardian" && screen -S PetGuardian -X quit
# 使用新版jar包启动应用
- name: 使用新版jar包启动应用
uses: appleboy/ssh-action@master