1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-04 21:35:24 +02:00
This commit is contained in:
dbarzin 2023-02-13 21:54:50 +01:00
parent e39b4ccdf4
commit 5c84d4496e

View file

@ -19,8 +19,26 @@ jobs:
- name: Install Pandora
run: |
echo "ip_address=$(curl -s ifconfig.me)" >> $GITHUB_ENV
- name: test
run: |
echo IP Adress is: ${{ env.ip_address }}
- name: Restart and wait on server
shell: sleep 2 && shutdown -r now
async: 1
poll: 0
ignore_errors: true
- name: Wait on server to return
local_action:
module: wait_for
host={{ env.ip_address }}
port=22
delay=60
timeout=300
- name: Done
run: |
echo "Done."