diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f90578a..62cff99 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -20,7 +20,7 @@ jobs: - name: Configure SSH run: | mkdir -p ~/.ssh - echo "${{ gitea.secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa + cat <<< "${gitea.secrets.SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config - name: Deploy via SSH