diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1e898bf..dfbe19f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -29,6 +29,14 @@ jobs: echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts + + - name: Debug SSH key + run: | + echo "Key content (first 50 chars):" + head -c 50 ~/.ssh/id_ed25519 + echo "" + echo "Key permissions:" + ls -la ~/.ssh/id_ed25519 - name: Deploy via SCP run: |