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