diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9a9ba28..e906af4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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/