From 8866ee57a0eb44cf454ae0a11edb1dd114fdcabc Mon Sep 17 00:00:00 2001 From: f Date: Sat, 4 Feb 2023 13:43:01 -0300 Subject: [PATCH] BREAKING CHANGE: SSH_KEY secret is base64 encoded with no newlines --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7a047f24..d0f210e6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,7 +9,7 @@ pipeline: - "mkdir ~/.ssh/" - "echo \"[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP\" >> ~/.ssh/known_hosts" - "eval $(ssh-agent -s)" - - "echo \"$${SSH_KEY}\" | tr -d \"\\r\" | ssh-add -" + - "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -" - "git config user.name Woodpecker" - "git config user.email ci@nulo.in" - "git remote add nulo ssh://_gitea@gitea.nulo.in:420/Sutty/gems.git"