[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Help](/c/help/9) # `vercel promote` does not work from cli 129 views · 1 like · 5 posts Marcus Lowe (@failingbuild) · 2024-09-26 <!-- Questions that get answered the fastest are the ones with relevant info included in the original post. Be sure to include all detail needed to let others see and understand the problem! --> ### Current versus Expected behavior In CI, we used to run `vercel promote --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ env.VERCEL_ORG_ID }} "$DEPLOYMENT_URL"` and it was working recently, we started getting errors that fail this command ``` This deployment is not a production deployment and cannot be directly promoted. A new deployment will be built using your production environment. Are you sure you want to continue? (y/N) ``` Of course, in CI, we can't respond to that. And yet, confusingly when we look at the deployments in vercel app they show as "Production". And so we then manually promote them. Did something change? If so, how can we control deployment promotion from the CLI appropriately. NOTE: this may be related to the [other issue I reported](https://community.vercel.com/t/vercel-alias-no-longer-assigning-domains/1264) but it's unclear. On our side, I don't believe anything impacting this changed. Amy Egan (@amyegan) · 2024-09-26 Hey @failingbuild! You can find more info about `vercel promote` in the [CLI documentation](https://vercel.com/docs/cli/promote), but I believe this is the most relevant part: > 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. I hope that helps! Marcus Lowe (@failingbuild) · 2024-09-26 Maybe we're doing something wrong but as far as I can tell we are building this for the production environment, as noted by them being marked as Production in the vercel dashboard. we're just running ``` vercel build --prod ``` is there something else that we'd need for this to be considered a production target? Here's what it looks like in our dashboard before I have to manually promote it.  Swarnava Sengupta (@swarnava) · 2024-09-27 · ♥ 1 We have released a new version of CLI v37.6.0. Can you try that and let us know if you are still experiencing this issue? system (@system) · 2026-01-19 Hi @failingbuild! 🙂 We haven't heard back from you. If you're still stuck, feel free to share any updates, logs, or additional context that might help us assist you better!