Add debug step to check config file contents
Build and deploy Hugo site / build (push) Failing after 8s

This commit is contained in:
YaoLei
2026-07-06 10:41:27 +08:00
parent a472675714
commit 4756a49ed3
+3
View File
@@ -44,6 +44,9 @@ jobs:
working-directory: /tmp/hugo-site
run: |
set -e
# Debug: check if config file exists
echo "Config file contents:"
cat config.toml || echo "Config file not found"
# Setup SSH key for Hugo deploy
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa