From d0021634e08fe816647746acb28d01e9bce2fff4 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 19 Aug 2023 21:28:08 +0100 Subject: [PATCH] Fix mismatched encryption in ssh key --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 74b8d4a..e08e359 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,8 +30,8 @@ steps: - apk add openssh rsync - eval $(ssh-agent -s) - mkdir -p ~/.ssh - - echo "$SSH_KEY" > ~/.ssh/id_rsa - - chmod 600 ~/.ssh/id_rsa + - echo "$SSH_KEY" > ~/.ssh/id_ed25519 + - chmod 600 ~/.ssh/id_ed25519 - ssh-add - echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - rsync -rP public/ "$${USER}@$${HOST}:$${SITE_PATH}"