add network minitor.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 16s
Deploy / Build (push) Failing after 33s

This commit is contained in:
amass 2024-11-09 20:42:06 +08:00
parent c67e9ce40b
commit 36f956b590

View File

@ -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 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 - run: resources/build.sh build
- name: Copy files to server - name: Copy files to server
uses: appleboy/scp-action@v0.1.3 uses: appleboy/scp-action@v0.1.7
with: with:
host: ${{ vars.YUYUN_SERVER }} host: ${{ vars.YUYUN_SERVER }}
username: ${{ vars.YUYUN_USER }} username: ${{ vars.YUYUN_USER }}
password: ${{ secrets.SERVER_ROOT_PASSWORD }} password: ${{ secrets.SERVER_ROOT_PASSWORD }}
overwrite: true
source: build/Server/HttpServer source: build/Server/HttpServer
target: /root/Server/HttpServer target: /root/Server
- name: Restart server - name: Restart server
uses: appleboy/ssh-action@v0.1.3 uses: appleboy/ssh-action@v0.1.3
with: with: