From cfe50ee05e84c71ff2c727a32699c21273ca8795 Mon Sep 17 00:00:00 2001 From: kdev Date: Wed, 21 Sep 2022 19:47:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9Achange=20known=20host=20generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 78f38ad0b8..85abffbdc6 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -38,10 +38,11 @@ jobs: uses: shimataro/ssh-key-action@v2 with: key: ${{ secrets.SSH_DEPLOY_KEY }} - known_hosts: 'just-a-placeholder-so-we-dont-get-errors' + known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} + if_key_exists: replace - - name: Add known_hosts - run: ssh-keyscan -H ${{ secrets.SSH_KNOWN_HOSTS }} >> ~/.ssh/known_hosts + # - name: Add known_hosts + # run: ssh-keyscan -H ${{ secrets.SSH_KNOWN_HOSTS }} >> ~/.ssh/known_hosts - name: Deployment if: ${{ success() }}