I was pushing changes to a repository, and it used to auto-promote the latest push to the main branch to production. Now it is not. I suspect I made changes to the settings but can’t find where to revert them.
Current Behavior
The commit fix convex is the latest production build on the main branch.
I pushed new changes titled google analytics to the main branch.
The new deployment stayed as a preview and I had to manually promote it to production.
Question
Is there a way to properly revert this setting so that pushes to main automatically promote to production?
Since we want to make sure your main branch is actually triggering those live updates, could you try checking these settings?
First, head over to your project in the Vercel Dashboard and navigate to the Settings tab, then select Git from the sidebar.
Once you are there, look for the Production Branch section. You want to make sure your main branch is explicitly set as the production branch. Also, double-check that the option for Automatically promote successful deployments is enabled. This is usually what ensures your latest push actually goes live without manual intervention.
If those settings look correct but it still isn’t working, there are a few other things that might be interfering. Sometimes the production branch setting gets accidentally pointed to a different branch during a test.
It is also possible that auto-promotion was disabled globally in your Git settings at some point. Another thing to look out for is a deployment protection rule. If you have specific environments protected, it might be preventing that automatic promotion to production until certain checks are met.