mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-05 05:45:22 +02:00
test
This commit is contained in:
parent
e39b4ccdf4
commit
5c84d4496e
1 changed files with 19 additions and 1 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -19,8 +19,26 @@ jobs:
|
||||||
- name: Install Pandora
|
- name: Install Pandora
|
||||||
run: |
|
run: |
|
||||||
echo "ip_address=$(curl -s ifconfig.me)" >> $GITHUB_ENV
|
echo "ip_address=$(curl -s ifconfig.me)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
echo IP Adress is: ${{ env.ip_address }}
|
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."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue