Disable automatic deployments in Vercel
Answered
Satin posted this in #help-forum
SatinOP
As the title says, do you guys know how to disable automatic deployments in vercel once I push my code to github? I just want to set it manually instead of deploying it everytime I push my code. TYIA
13 Replies
disconnect git branch from your project's settings
SatinOP
Is this the one here? but when I disconnect it how can I manually deploy new commits as disconnecting this would also remove the ability to manually create deployments
then use vercel.json
Lemme get the url one sec
set git.deploymentEnabled = false
https://openapi.vercel.sh/vercel.json use this json schema
I uh made this workflow for my monorepo
https://github.com/Arinji2/ahaana-bardcore/blob/main/.github%2Fworkflows%2Fvercel-build.yml
https://github.com/Arinji2/ahaana-bardcore/blob/main/.github%2Fworkflows%2Fvercel-build.yml
Since vercel keeps building for all changes in my monorepo
Even with the whole disable building if outside build folder
You can use that and it will automatically build and move it over to vercel for deployment
SatinOP
Fixed: use the vercel.json file. Thank you!
Answer