Files
hmbown--codewhale/web/wrangler.jsonc
CodeWhale Bot 6fb9a9e27b fix(web): deploy one exact OpenNext bundle
Build once through the OpenNext adapter before preview or deploy, and remove Wrangler custom-build recursion so cache population and upload use the same bundle. Keep the manual main-only exact-SHA workflow and post-deploy receipt gate intact.

Verified with deploy-preflight tests, ESLint, a complete 288-page OpenNext build, Wrangler 4.113.0 deploy --dry-run, and diff checking.
2026-08-07 21:46:01 -07:00

40 lines
1.0 KiB
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "codewhale-web",
"main": "worker.ts",
"compatibility_date": "2025-04-01",
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
"assets": {
"directory": ".open-next/assets",
"binding": "ASSETS"
},
"observability": { "enabled": true },
"routes": [
{ "pattern": "codewhale.net", "custom_domain": true },
{ "pattern": "www.codewhale.net", "custom_domain": true }
],
"kv_namespaces": [
{
"binding": "CURATED_KV",
"id": "abaa6a753c9d45bfa5c0afaf26dc67b3"
},
{
"binding": "NEXT_INC_CACHE_KV",
"id": "a2e6f324db9b4b03bbc940a4ba246985"
}
],
"vars": {
"GITHUB_REPO": "Hmbown/CodeWhale",
"DEEPSEEK_MODEL": "deepseek-v4-flash",
"DEEPSEEK_BASE_URL": "https://gateway.ai.cloudflare.com/v1/cf50f793171d7cb3b2ce23368b69cdcb/codewhale-web/deepseek"
},
"triggers": {
"crons": [
"0 */6 * * *",
"*/30 * * * *",
"0 0 * * *",
"0 9 * * 1"
]
}
}