From a44f4b5270c1c3075065a9c91712531a6d523221 Mon Sep 17 00:00:00 2001 From: Alexandru Date: Wed, 18 Sep 2024 20:01:13 +0300 Subject: [PATCH] plzxwork --- .gitea/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index a2a277a..fe70734 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -29,7 +29,7 @@ jobs: - name: init ssh run: | mkdir -p ~/.ssh - echo "${{ secrets.PRIVKEY }}" | tr -d '\r' | base64 -d > ~/.ssh/id_rsa + printf '%s' "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'