Skip to content

Commit

Permalink
Update push_test_server.yml
Browse files Browse the repository at this point in the history
Signed-off-by: raller1028 <57336867+raller1028@users.noreply.github.com>
  • Loading branch information
raller1028 authored Feb 21, 2023
1 parent 3190421 commit 45a5567
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/push_test_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 45a5567

Please sign in to comment.