BREAKING CHANGE: SSH_KEY secret is base64 encoded with no newlines
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-02-04 13:43:01 -03:00
parent 330cc685ee
commit 8866ee57a0

View file

@ -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"