From 82e6154b3a7ed3bf40a70cff72b21730ebf7a086 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sat, 9 Nov 2024 22:16:04 +0800 Subject: [PATCH] deploy libraries. --- .gitea/workflows/deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 64a5aef..b82412a 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -48,10 +48,12 @@ jobs: username: ${{ vars.YUYUN_USER }} password: ${{ secrets.SERVER_ROOT_PASSWORD }} script: | + cd /root/Server pkill -f HttpServer || true cp /root/Server/HttpServer /root/Server/HttpServer.bak source /etc/profile nohup /root/Server/HttpServer > /dev/null 2>&1 & + exit 0 - name: Notify-End if: ${{ always() }} run: |