New! Deliver web projects 10x faster. Get the free enterprise paper

By David Calavera in News & Announcements

Get full control over your deployed branches

Branch Deploys and Deploy Previews are two of Netlify’s most popular features. Branch Deploys build every branch published in your repository every time you push to it while Deploy Previews give you an instant view of how your site will look once you merge. While both features are powerful on their own, it can be cumbersome to deploy all your branches just to use Deploy Previews.

So today, we’re introducing a fundamental change to how Branch Deploys are activated that gives you significantly more control.

We’ve added a new setting to Netlify’s build and deploy pipeline that allows you to customize what you want to deploy. You now have the ability to select any of the following options:

  • Deploy all branches and all Deploy Previews on them
  • Deploy only your production branch and all Deploy Previews on that branch
  • Deploy your production branch, the additional branches you specify, and all their Deploy Previews

allowed branches

All your current sites will remain as they are, building and deploying everything, however, we’re making a change to how new sites behave by default. Starting today, any new site you add won’t have Branch Deploys enabled by default. We will deploy the production branch and all Deploy Previews on that branch, but we won’t deploy branches under their own subdomain unless you add them the list of additional branches.

If you have questions or feedback about these changes, give us a shout on Twitter, Gitter, or through support.