add network minitor.
This commit is contained in:
parent
c67e9ce40b
commit
36f956b590
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user