Ignore Deploy Previews


I’m trying to optimize build minutes in our account, and I’m trying to find a way to tell Netlify NOT to build a deploy preview for certain PRs. My repo is currently configured to Automatically build deploy previews for all pull requests.

I’ve tried using the [skip ci] tag in the commit message, and I’ve also added an ignore config to my netlify.toml file as described here, but Netlify is still building deploy previews for new PRs. Do these methods work for deploy previews or only for deployments to the main branch? Any other methods you would recommend optimizing build minutes if deploy previews are the only feature we actively use?

Thank you.

Should work for any commit. Could you link me to the logs in our UI for a deploy which shouldn’t have happened so I can take a closer look?