- 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
15 lines
340 B
Desktop File
15 lines
340 B
Desktop File
[Unit]
|
|
Description=News Platform — Gitea deploy webhook (runs webhook-deploy.sh)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
EnvironmentFile=-/etc/news-platform/deploy-hook.env
|
|
ExecStart=/usr/bin/node /opt/news-platform/deploy/scripts/deploy-hook-server.mjs
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|