diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index 76b64ca..c4287da 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -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