From 065dcc62396a05beb8cc8ff11b9c738c647790ac Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Widulski" Date: Tue, 23 May 2023 15:39:54 -0400 Subject: [PATCH] fix: Make CI file use ed25519 instead of RSA Signed-off-by: Skylar "The Cobra" Widulski --- .woodpecker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index c4082d9..e3214e5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ pipeline: image: machines/ssh commands: - mkdir -p ~/.ssh - - echo "$PRIVKEY $privkey" > ~/.ssh/id_rsa - - chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa - - ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_rsa "cd /websiteupdate/wiki && git reset --hard origin/master && git config pull.rebase true && git pull && nix-shell -p gnumake -p pandoc --run make" + - echo "$PRIVKEY $privkey" > ~/.ssh/id_ed25519 + - chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519 + - ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_ed25519 "cd /websiteupdate/wiki && git reset --hard origin/master && git config pull.rebase true && git pull && nix-shell -p gnumake -p pandoc --run make" secrets: [ privkey ]