|
@@ -62,7 +62,18 @@ jobs:
|
|
with:
|
|
with:
|
|
network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
|
|
network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
|
|
auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}
|
|
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
|
|
- name: copy tar to target host
|
|
shell: bash
|
|
shell: bash
|
|
run: |
|
|
run: |
|