From cfd9ecb9049a0a60640e038752c7f05058c019d9 Mon Sep 17 00:00:00 2001 From: devinfritz Date: Thu, 2 Jan 2025 22:23:27 +0100 Subject: [PATCH] Update workflow --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 84f879a..02290e6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -40,8 +40,8 @@ jobs: - name: Add server's SSH public key to known_hosts run: | mkdir -p ~/.ssh - echo "${{secrets.SSH_PUBLIC_KEY}}" >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts + echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 - name: Deploy application run: |