Update push_test_server.yml
Signed-off-by: raller1028 <57336867+raller1028@users.noreply.github.com>
This commit is contained in:
parent
3190421fd9
commit
45a5567978
1 changed files with 12 additions and 1 deletions
13
.github/workflows/push_test_server.yml
vendored
13
.github/workflows/push_test_server.yml
vendored
|
@ -62,7 +62,18 @@ jobs:
|
|||
with:
|
||||
network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
|
||||
auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}
|
||||
|
||||
|
||||
- name: ping host
|
||||
shell: bash
|
||||
run: |
|
||||
count=10
|
||||
while ! ping -c 1 10.147.18.11 ; do
|
||||
echo "waiting..." ;
|
||||
sleep 1 ;
|
||||
let count=count-1
|
||||
done
|
||||
echo "ping success"
|
||||
|
||||
- name: copy tar to target host
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue