Files
news-platform/deploy/systemd/deploy-hook.env.example
Artur MoreiraandPaperclip a8b71762d9 fix(news-platform): SSR domain routing, resilient homepage, Gitea deploy hook
- Forward X-Site-Host from Astro to the bridge so loopback calls use the public domain JSON
- Normalize newsproject.bitreport.pt.json (categories slug/label, wp on 127.0.0.1:8080)
- Degrade homepage/trending when WordPress is down instead of 500
- Extend webhook-deploy.sh for config/ and wordpress/ changes; add deploy-hook-server + systemd unit
- Document automatic Gitea webhook flow in docs/deployment.md; align DOMAINS_CONFIG_PATH env

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 19:47:19 +00:00

7 lines
268 B
Bash

# Copy to /etc/news-platform/deploy-hook.env on the LXC
DEPLOY_HOOK_HOST=127.0.0.1
DEPLOY_HOOK_PORT=9090
# Long random string; same value in Gitea webhook as Bearer or X-Deploy-Token
DEPLOY_HOOK_TOKEN=
DEPLOY_SCRIPT=/opt/news-platform/deploy/scripts/webhook-deploy.sh