From 7768f32392e11f6c1d347a299ffb2ae7fb42b343 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sun, 10 Nov 2024 21:00:27 +0800 Subject: [PATCH] make command not block. --- .gitea/workflows/deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 348f920..d9498a9 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -48,13 +48,13 @@ jobs: username: ${{ vars.YUYUN_USER }} password: ${{ secrets.SERVER_ROOT_PASSWORD }} script: | - cd /root/Server; - source /etc/profile; - /root/Server/HttpServer --exit; - sleep 1; - cp /tmp/HttpServer /root/Server/HttpServer; - /root/Server/HttpServer &; - exit 0; + cd /root/Server + source /etc/profile + /root/Server/HttpServer --exit + sleep 1 + cp /tmp/HttpServer /root/Server/HttpServer + /root/Server/HttpServer & + exit 0 - name: Notify-End if: ${{ always() }} run: |