Next.js Discord

Discord Forum

Vercel deployemnt

Unanswered
Mainak posted this in #help-forum
Open in Discord
I've a repo lets say app
Now I to open three new environment lets say pre-prod , prod and we already have main
Currently if I open a PR against main the preview build will be generated for other three branches as well.
1. How to stop that? So that if I open a PR to main it will only build the preview build for main and skip the rest.
2. How do I assign custom domain to the three different projects so that main and pre-prod will not be indexed while prod will be?

0 Replies