From 471fc092ce0ee90801d1fc46af551fa8440d869a Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Tue, 11 Feb 2025 17:49:22 -0500 Subject: [PATCH] More changes --- .github/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5146d86..6e769bb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,12 +24,12 @@ jobs: run: | whoami eval `ssh-agent -s` - mkdir -p /home/runner/.ssh/ - touch /home/runner/.ssh/id_rsa - echo "${{secrets.SSH_KEY}}" | tr -d '\r' > /home/runner/.ssh/id_rsa - chmod 700 /home/runner/.ssh/id_rsa - ls -la /home/runner/.ssh/ - ssh-keyscan -t rsa,dsa,ecdsa,ed25519 ${{secrets.SSH_HOST}} >> /home/runner/.ssh/known_hosts + mkdir -p ~/.ssh/ + touch ~/.ssh/id_rsa + echo "${{secrets.SSH_KEY}}" | tr -d '\r' > ~/.ssh/id_rsa + chmod 700 ~/.ssh/id_rsa + ssh-keyscan -t rsa,dsa,ecdsa,ed25519 ${{secrets.SSH_HOST}} >> ~/.ssh/known_hosts + chmod 644 ~/.ssh/known_hosts - name: SSH to the Prod env shell: bash