- 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
7 lines
268 B
Bash
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
|