Next.js Discord

Discord Forum

Disable automatic deployments in Vercel

Answered
Satin posted this in #help-forum
Open in Discord
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
Answered by Satin
Fixed: use the vercel.json file. Thank you!
View full answer

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
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