From c9b8ae3fb50b327d91c57ee013e7c36acc339fee Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 9 May 2024 10:04:25 +0200 Subject: [PATCH] change permissions on privkey --- .gitea/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a42c392..9bbfc04 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -31,6 +31,7 @@ jobs: shell: bash run: | echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 + chmod 440 ~/.ssh/id_ed25519 echo "{{ secrets.INSTANCE_SSH_PUBLIC_KEY }} > ~/.ssh/known_hosts" - name: git lfs pull shell: bash