debug key file
Some checks failed
Build Hugo Site / build (push) Failing after 3s

This commit is contained in:
2025-11-10 02:26:24 -03:00
parent 6218f35526
commit 949549d1b9

View File

@@ -17,17 +17,16 @@ jobs:
- name: Build
run: hugo --minify
- name: Verify secret presence
- name: Debug key file
run: |
[ -n "$SSH_KEY" ] && echo "SSH_KEY is non-empty" || echo "SSH_KEY missing"
[ -n "$SSH_USER" ] && echo "SSH_USER is non-empty" || echo "SSH_USER missing"
[ -n "$SSH_HOST" ] && echo "SSH_HOST is non-empty" || echo "SSH_HOST missing"
[ -n "$DEPLOY_PATH" ] && echo "DEPLOY_PATH is non-empty" || echo "DEPLOY_PATH missing"
echo "Checking ~/.ssh:"
ls -lah ~/.ssh
echo "File content (first few lines):"
head -n 5 ~/.ssh/id_ed25519 || echo "file missing"
echo "File permissions:"
stat ~/.ssh/id_ed25519 || echo "no stat"
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST }}
DEPLOY_PATH: ${{ secrets.DEPLOY_PATH }}
- name: Deploy
run: |