Skip to content

Is there any way to deploy Production when a commit is still in PR ? #153

Answered by BetaHuhn
kentnathaniel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kentnathaniel,

there is a PRODUCTION input which tells the Vercel CLI if a deployment should be targeting the production environment. At the moment this gets overwritten to false if the action is run inside a PR. This is the intended behavior, but I can see why this might be unexpected and I think it would be better of the PRODUCTION input also affects the deployment environment in a PR.

I will work on a fix.

Replies: 1 comment 3 replies

Comment options

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

@kentnathaniel
Comment options

@BetaHuhn
Comment options

Answer selected by BetaHuhn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants