Commits to production branch (main) are triggering preview deployments

I’m facing a problem where commits to my production branch (main) are automatically triggering preview deployments. This wasn’t an issue until I set up a staging domain and separated prod / preview env variables. I’ve attached a screenshot of my environment branch tracking setup. Any help would be appreciated - thanks

Are these deployments from the CLI? That would result in a preview deployment by default unless you include the --prod option

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.