Skip to content

Commit 45a5567

Browse files
authored
Update push_test_server.yml
Signed-off-by: raller1028 <[email protected]>
1 parent 3190421 commit 45a5567

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/push_test_server.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,18 @@ jobs:
6262
with:
6363
network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
6464
auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}
65-
65+
66+
- name: ping host
67+
shell: bash
68+
run: |
69+
count=10
70+
while ! ping -c 1 10.147.18.11 ; do
71+
echo "waiting..." ;
72+
sleep 1 ;
73+
let count=count-1
74+
done
75+
echo "ping success"
76+
6677
- name: copy tar to target host
6778
shell: bash
6879
run: |

0 commit comments

Comments
 (0)