From 390a78c6fe074306cb41ba06e7f5a876e91e75d9 Mon Sep 17 00:00:00 2001 From: Alexandru Date: Wed, 18 Sep 2024 12:35:24 +0300 Subject: [PATCH] updoot action --- .gitea/workflows/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 09f7253..47e945d 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -29,9 +29,10 @@ jobs: - name: init ssh run: | mkdir -p ~/.ssh - echo "${{ secrets.PRIVKEY }}" > ~/.ssh/id_rsa + echo "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts + ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts + echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - name: delete new files so we don't screw up stuff run: |