From d90a5da3f06cf397af5292307d9b5bccccc901a7 Mon Sep 17 00:00:00 2001 From: mco-system Date: Tue, 12 Nov 2024 21:53:52 +1100 Subject: [PATCH] feat: gitea action runner --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: