Promote a staged version to 100% of traffic
versions & rollback
// what it does
Once a canary looks healthy, deploy the new version at 100% to make it the sole production version. `-y` accepts the confirmation prompt automatically, which you want in CI. This is how an uploaded-but-undeployed version finally goes live for everyone.
// shell
$ wrangler versions deploy <version-id>@100 -y// gotcha
Without `-y` it prompts interactively and will hang in a non-interactive CI job. `wrangler deploy` does upload+deploy in one shot; use `versions deploy` only when you have deliberately split upload from deploy.