npx wrangler versions upload
npx wrangler versions upload
Risk: Safe
What it does
Uploads a new version of your Worker without sending it any traffic.
When to use it
First step of a canary (gradual deployment).
Example
$ npx wrangler versions uploadThe new version waits. Users still get the old one.
Learn it in: Recreate, rolling, blue/green, canary · Official docs