Deploy: reload Caddy so Caddyfile changes take effect
CI / test (push) Failing after 40s
CI / build (push) Skipped
CI / deploy (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-17 11:55:27 +00:00
co-authored by Claude Opus 5.5
parent 786696bb1e
commit ae9b1b31a9
+1
View File
@@ -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.