From 5a97c315dea0457214787d0d4672041950bdbbab Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 8 Apr 2025 16:57:18 +0200 Subject: [PATCH] Should work with echo --- .woodpecker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 9c65dda..8e5259e 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -16,7 +16,7 @@ steps: - mkdir -p ~/.ssh - chmod 700 ~/.ssh # Create the SSH key file - - tee "$SSH_KEY" > ~/.ssh/id_ed25519 + - echo "$SSH_KEY" > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - ssh-keyscan -t ed25519 git.polarolouis.fr >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts