From f77185444ce7e9d1faa2fc824ef44fc0171c05bc Mon Sep 17 00:00:00 2001 From: Johannes Brandenburger <79154528+johannesbrandenburger@users.noreply.github.com> Date: Wed, 17 Apr 2024 21:01:16 +0200 Subject: [PATCH] pipeline: fix2 --- .github/workflows/deploy-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 800f1b3..ee16520 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -14,7 +14,7 @@ jobs: echo "${{ secrets.SSH_PUB_KEY_DEV }}" > ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa.pub - ssh-keyscan -H ${{ secrets.IP_DEV }} + touch ~/.ssh/known_hosts ssh-keyscan -H ${{ secrets.IP_DEV }} >> ~/.ssh/known_hosts - name: Deploy via SSH run: |