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 - name: Deploy to Caddy site directory
run: | run: |
set -euxo pipefail echo "=== Checking /deploy-live mount ==="
echo "Start debugging" ls -la /deploy-live || echo "/deploy-live does not exist or is not mounted"
# Runner is on the same host as Caddy. echo "=== Contents of public/ ==="
# /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host. ls -la public/ || echo "public/ not found"
echo "Deploying to live site ..." echo "Deploying to live site ..."
rm -rf /deploy-live/* rm -rf /deploy-live/*
cp -a public/. /deploy-live/ cp -a public/. /deploy-live/