From af37df9f8b353611fa4ffb02101fa51306822e0e Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Sun, 25 Aug 2024 20:11:10 -0400 Subject: [PATCH] Try and force the ssh key newline --- .forgejo/workflows/example.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/example.yaml b/.forgejo/workflows/example.yaml index aa0e443..37851d0 100644 --- a/.forgejo/workflows/example.yaml +++ b/.forgejo/workflows/example.yaml @@ -20,6 +20,6 @@ jobs: IdentityFile ~/.ssh/id_rsa StrictHostKeyChecking no EOF - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa + echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - run: rsync -avz --delete ./public/ reason:Public/roam/