From 471ba771518180423ffb131dd89899b7389e1194 Mon Sep 17 00:00:00 2001 From: "Klaus @ LambdaClass" <18153834+klaus993@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:37:24 -0300 Subject: [PATCH] Update deploy-production.yaml --- .github/workflows/deploy-production.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-production.yaml b/.github/workflows/deploy-production.yaml index 5dbb0348..614f6b01 100644 --- a/.github/workflows/deploy-production.yaml +++ b/.github/workflows/deploy-production.yaml @@ -28,6 +28,7 @@ jobs: set -ex sed -E 's/(-+(BEGIN|END) OPENSSH PRIVATE KEY-+) *| +/\1\n/g' <<< "$SSH_KEY" > id_ed25519_production chmod 400 id_ed25519_production + retries=5; until ssh-keyscan $TS_HOST >> ~/.ssh/known_hosts || [ $retries -eq 0 ]; do ((retries--)); sleep 5; done - name: Install ansible run: |