From 36f956b5906e7791f677fd068af18d6763fecb21 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sat, 9 Nov 2024 20:42:06 +0800 Subject: [PATCH] add network minitor. --- .gitea/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: