Debuggin deploy.yml 01
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 1m43s

This commit is contained in:
2026-08-13 15:00:02 -04:00
parent 407007c61e
commit f4f0827c1d
+4 -4
View File
@@ -32,10 +32,10 @@ jobs:
- name: Deploy to Caddy site directory
run: |
set -euxo pipefail
echo "Start debugging"
# Runner is on the same host as Caddy.
# /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host.
echo "=== Checking /deploy-live mount ==="
ls -la /deploy-live || echo "/deploy-live does not exist or is not mounted"
echo "=== Contents of public/ ==="
ls -la public/ || echo "public/ not found"
echo "Deploying to live site ..."
rm -rf /deploy-live/*
cp -a public/. /deploy-live/