Files
nxdns/website/wrangler.jsonc
T
mokhtar 7e0664250b
Gates / test (push) Successful in 2m40s
Site / deploy (push) Failing after 2m17s
Gates / frontend (push) Successful in 2m12s
Gates / test-aarch64 (push) Successful in 8m11s
Gates / package (push) Successful in 5m4s
Gates / container (push) Successful in 19s
CI / gates (push) Successful in 16m18s
ci: build nxdns.sh and deploy it as a cloudflare worker with static assets
2026-10-21 17:31:06 +02:00

18 lines
662 B
JSON

// nxdns.sh: the built site, served as a Worker's static assets. Cloudflare has
// folded Pages into Workers, and its Pages commands now delegate here. CI deploys
// it with `wrangler deploy` (.gitea/workflows/site.yml).
{
"name": "nxdns-site",
"compatibility_date": "2026-10-06",
"assets": {
"directory": "./dist",
// Astro writes every page as <route>/index.html and links them with a
// trailing slash; a missing page gets Starlight's 404.html with a 404.
"html_handling": "auto-trailing-slash",
"not_found_handling": "404-page",
},
"routes": [{ "pattern": "nxdns.sh", "custom_domain": true }],
"workers_dev": false,
"preview_urls": false,
}