diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c882ba9..c4faa9d 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -32,7 +32,7 @@ jobs: cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify - run: resources/build.sh build - name: Stop server - uses: appleboy/ssh-action@v0.1.3 + uses: appleboy/ssh-action@v1.1.0 with: host: ${{ vars.YUYUN_SERVER }} username: ${{ vars.YUYUN_USER }} @@ -50,7 +50,7 @@ jobs: source: build/Server/HttpServer target: /root/Server - name: Restart server - uses: appleboy/ssh-action@v0.1.3 + uses: appleboy/ssh-action@v1.1.0 with: host: ${{ vars.YUYUN_SERVER }} username: ${{ vars.YUYUN_USER }}