// Deploys the hand-written marketing site (site/) as an assets-only // Cloudflare Worker for the bare diagrav.com domain. No build step — // serves the folder as-is: // npx wrangler deploy --config wrangler.site.jsonc (production) // npx wrangler deploy --config wrangler.site.jsonc --env staging { "$schema": "./node_modules/wrangler/config-schema.json", "name": "diagrav-site", "compatibility_date": "2026-09-25", "assets": { "directory": "./site", "not_found_handling": "404-page" }, "routes": [ { "pattern": "diagrav.com", "custom_domain": true } ], // Own Worker, own route — the marketing site has no build step/env vars, // so this is just a separate deploy target, not a separate build. "env": { "staging": { "name": "diagrav-site-staging", "routes": [ { "pattern": "staging.diagrav.com", "custom_domain": true } ] } } }