diff --git a/.gitea/workflows/deploy-containers.yml b/.gitea/workflows/deploy-containers.yml index 47afc9e..add0cf1 100644 --- a/.gitea/workflows/deploy-containers.yml +++ b/.gitea/workflows/deploy-containers.yml @@ -27,9 +27,8 @@ jobs: - name: Deploy containers run: | mkdir -p ~/.ssh - chmod 700 ~/.ssh echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts - chmod 600 ~/.ssh/known_hosts + chmod 644 ~/.ssh/known_hosts eval $(ssh-agent -s) ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY }}") echo "HOST *" > ~/.ssh/config