diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ea11623..29c13dd 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -13,8 +13,8 @@ jobs: apt-get install -y ssh rsync - name: Create SSH private key run: | - mkdir -p .ssh/ && \ - echo "${secrets.SSH_PRIV_KEY}" > .ssh/id_rsa && \ + mkdir -p .ssh/ + echo "${secrets.SSH_PRIV_KEY}" | tr -d '\r' > .ssh/id_rsa chmod 600 .ssh/id_rsa - name: Retrieve Git serveur hostname and port env: