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: |