diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 641f7d3..b7c5548 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -32,13 +32,14 @@ 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: Copy files to server - uses: appleboy/scp-action@v0.1.3 + uses: appleboy/scp-action@v0.1.7 with: host: ${{ vars.YUYUN_SERVER }} username: ${{ vars.YUYUN_USER }} password: ${{ secrets.SERVER_ROOT_PASSWORD }} + overwrite: true source: build/Server/HttpServer - target: /root/Server/HttpServer + target: /root/Server - name: Restart server uses: appleboy/ssh-action@v0.1.3 with: