From 2c52c9387f9fcdd3a9277b4bc611fc7c2998aa55 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sat, 9 Nov 2024 22:51:35 +0800 Subject: [PATCH] deploy libraries. --- .gitea/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c4faa9d..6a9bef5 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -38,7 +38,8 @@ jobs: username: ${{ vars.YUYUN_USER }} password: ${{ secrets.SERVER_ROOT_PASSWORD }} script: | - pkill -f HttpServer || true + pgrep -f HttpServer | xargs -r kill -s 9 + exit 0 - name: Copy files to server uses: appleboy/scp-action@v0.1.7 with: