From a5c5225eb49cb42346e61645e47c9e20394d3995 Mon Sep 17 00:00:00 2001 From: Khushmeet Singh Date: Sun, 17 Sep 2023 17:02:20 -0700 Subject: [PATCH] Added test ssh step to authenticate tailscale --- .github/workflows/hetzner_create.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/hetzner_create.yml b/.github/workflows/hetzner_create.yml index afe2af3..5070ef0 100644 --- a/.github/workflows/hetzner_create.yml +++ b/.github/workflows/hetzner_create.yml @@ -81,6 +81,9 @@ jobs: SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_HOST: ${{ secrets.SSH_HOST }} + - name: Test SSH connectivity + run: ssh -i ~/.ssh/server.key axion-1 echo "Hello World" + - name: Run Ansible Playbook run: | ansible-playbook ansible/setup-server.yml -i ansible/inventory.ini