From 55376855a8b79bcc7688302694965533c5879069 Mon Sep 17 00:00:00 2001 From: Rudolf Braun <48672663+BraunRudolf@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:10:13 +0200 Subject: [PATCH] depug --- .github/workflows/deploy_on_push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_on_push.yml b/.github/workflows/deploy_on_push.yml index 3fd8c28e..785e68f1 100644 --- a/.github/workflows/deploy_on_push.yml +++ b/.github/workflows/deploy_on_push.yml @@ -18,8 +18,9 @@ jobs: run: | echo "Installing SSH keys..." install -m 600 -D /dev/null ~/.ssh/id_ed25519 + run: | echo "${{ secrets.EC2_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 - ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts + ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts echo "SSH keys installed." - name: Connect and pull latest code