deploy libraries.
This commit is contained in:
parent
72ab9712bd
commit
e5d73a29b5
@ -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
|
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: Stop server
|
- name: Stop server
|
||||||
uses: appleboy/ssh-action@v0.1.3
|
uses: appleboy/ssh-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
host: ${{ vars.YUYUN_SERVER }}
|
host: ${{ vars.YUYUN_SERVER }}
|
||||||
username: ${{ vars.YUYUN_USER }}
|
username: ${{ vars.YUYUN_USER }}
|
||||||
@ -50,7 +50,7 @@ jobs:
|
|||||||
source: build/Server/HttpServer
|
source: build/Server/HttpServer
|
||||||
target: /root/Server
|
target: /root/Server
|
||||||
- name: Restart server
|
- name: Restart server
|
||||||
uses: appleboy/ssh-action@v0.1.3
|
uses: appleboy/ssh-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
host: ${{ vars.YUYUN_SERVER }}
|
host: ${{ vars.YUYUN_SERVER }}
|
||||||
username: ${{ vars.YUYUN_USER }}
|
username: ${{ vars.YUYUN_USER }}
|
||||||
|
Loading…
Reference in New Issue
Block a user