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