This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user