补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 30s

This commit is contained in:
hxuanyu 2024-11-04 18:29:22 +08:00
parent 5d2e60c108
commit bae94f9f73

View File

@ -56,7 +56,7 @@ jobs:
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: |
screen -list | grep -q "PetGuardian" && screen -S PetGuardian -X quit
screen -list | grep -q "${{ vars.JAR_NAME }}" && screen -S ${{ vars.JAR_NAME }} -X quit
# 使用新版jar包启动应用
- name: 使用新版jar包启动应用
uses: appleboy/ssh-action@master