From 5c84d4496e5ad25cd0c7b660b8813dbc9dea1687 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Mon, 13 Feb 2023 21:54:50 +0100 Subject: [PATCH] test --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90e8d05..6d4836e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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." +