vercel promote
Learn how to promote an existing deployment using the vercel promote CLI command.The vercel promote
command is used to promote an existing deployment to be the current deployment.
Deployments built for the Production environment are the typical promote
target. You can promote Deployments built for the Preview environment, but you
will be asked to confirm that action and will result in a new production
deployment. You can bypass this prompt by using the --yes
option.
vercel promote [deployment-id or url]
These are options that only apply to the vercel promote
command.
The --timeout
option is the time that the vercel promote
command will wait for the promotion to complete. When a timeout occurs, it does not affect the actual promotion which will continue to proceed.
When promoting a deployment, a timeout of 0
will immediately exit after requesting the promotion. The default timeout is 3m
.
vercel promote https://example-app-6vd6bhoqt.vercel.app --timeout=5m
The following global options can be passed when using the vercel promote
command:
For more information on global options and their usage, refer to the options section.
Was this helpful?