I have a Next.js app deployed on Vercel, and I’m using GitHub automatic builds.
Could you add a way for certain preview builds to avoid using the On-demand concurrent build servers and instead use cheaper servers?
I believe many others also have bots that upgrade dependencies or perform other non-time-critical tasks.
Maybe similar to the ignoreCommand option in vercel.json , so we can customize to our liking when to onDemandBuildCommand (or similar)
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"onDemandBuildCommand": "git log -1 --pretty=format:%ae | grep -E 'john@gmail.com|users.noreply.github.com' && exit 0 || exit 1"
}
Thanks
