Skip to content

Is there a way to disable auto deploy on specific branch? #4307

Closed Locked Answered by leerob
siloneco asked this question in General
Discussion options

You must be logged in to vote

Yes, you can disable deployments for specific branches through vercel.json:

{
  "git": {
    "deploymentEnabled": {
      "my-branch-name": false
    }
  }
}

https://vercel.com/docs/projects/project-configuration/git-configuration

Replies: 7 comments 15 replies

Comment options

You must be logged in to vote
5 replies
@paymog
Comment options

@utybo
Comment options

@amyegan
Comment options

@jacob-mako
Comment options

@muizidn

This comment was marked as spam.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@amyegan
Comment options

@stavgafny
Comment options

@coreyward
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@coreyward
Comment options

@leerob
Comment options

@coreyward
Comment options

Comment options

You must be logged in to vote
3 replies
@coreyward
Comment options

@NickG-NZ
Comment options

@hwrdtm
Comment options

Answer selected by leerob
Comment options

You must be logged in to vote
1 reply
@amyegan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet