Deploy: reload Caddy so Caddyfile changes take effect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -134,6 +134,7 @@ jobs:
|
|||||||
ssh "$HOST" "cd '$DIR' && \
|
ssh "$HOST" "cd '$DIR' && \
|
||||||
(grep -q '^TAG=' .env && sed -i 's/^TAG=.*/TAG=$tag/' .env || echo 'TAG=$tag' >> .env) && \
|
(grep -q '^TAG=' .env && sed -i 's/^TAG=.*/TAG=$tag/' .env || echo 'TAG=$tag' >> .env) && \
|
||||||
docker compose pull -q && docker compose up -d --remove-orphans --wait && \
|
docker compose pull -q && docker compose up -d --remove-orphans --wait && \
|
||||||
|
docker compose exec -T caddy caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile && \
|
||||||
docker image prune -f >/dev/null"
|
docker image prune -f >/dev/null"
|
||||||
# A release (and its tag, e.g. v2026.11.17-163612e) for every deployment,
|
# A release (and its tag, e.g. v2026.11.17-163612e) for every deployment,
|
||||||
# listing the commits since the previous one.
|
# listing the commits since the previous one.
|
||||||
|
|||||||
Reference in New Issue
Block a user