mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Pushing to unstable triggered a Vercel Preview build on every commit (and the manual promote rebuilt again) — wasted build time on a fast-moving dev branch we deploy on demand anyway. Set git.deploymentEnabled.unstable=false so pushes no longer auto-build; deploys are now explicit via `vercel deploy --prod` when we want unstable.bitvid.network updated. beta/main keep auto-deploying (intentional, low-frequency promotions). Co-Authored-By: Claude Opus 4.8 <[email protected]>
31 lines
616 B
JSON
31 lines
616 B
JSON
{
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": "dist",
|
|
"installCommand": "npm install",
|
|
"git": {
|
|
"deploymentEnabled": {
|
|
"unstable": false
|
|
}
|
|
},
|
|
"headers": [
|
|
{
|
|
"source": "/sw.min.js",
|
|
"headers": [
|
|
{ "key": "Cache-Control", "value": "no-cache, must-revalidate" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/",
|
|
"headers": [
|
|
{ "key": "Cache-Control", "value": "no-cache, must-revalidate" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/(.*\\.html)",
|
|
"headers": [
|
|
{ "key": "Cache-Control", "value": "no-cache, must-revalidate" }
|
|
]
|
|
}
|
|
]
|
|
}
|