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/