diff --git a/.github/workflows/deploy-testing.yaml b/.github/workflows/deploy-testing.yaml index 1af6e495..7fbf8538 100644 --- a/.github/workflows/deploy-testing.yaml +++ b/.github/workflows/deploy-testing.yaml @@ -37,7 +37,7 @@ jobs: mkdir -p ~/.ssh/ sed -E 's/(-+(BEGIN|END) OPENSSH PRIVATE KEY-+) *| +/\1\n/g' <<< "$SSH_KEY" > ~/.ssh/id_ed25519 chmod 400 ~/.ssh/id_ed25519 - ssh-keyscan $TS_HOST >> ~/.ssh/known_hosts + retries=5; until ssh-keyscan $TS_HOST >> ~/.ssh/known_hosts || [ $retries -eq 0 ]; do ((retries--)); sleep 5; done - name: Install ansible run: |