Unable to remove preview deploys

So I got a hint from this comment which included the following:

Environments -> Preview -> Branch Tracking set to enabled

It appears that when branch tracking is disabled, Vercel doesn’t look to the vercel.json and deploys regardless; however, when branch tracking is enabled, the settings in the vercel.json are respected. When I set branch tracking to enabled, I no longer saw failed deploys in GitHub. My current vercel.json is below.

{
  "git": {
    "deploymentEnabled": false
  }
}

1 Like