npx wrangler deploy
npx wrangler deploy [--env <name>] [--dry-run]
Risk: Careful
What it does
Uploads your Worker and sends all traffic to the new version.
When to use it
In the deploy job, after every check passed.
Example
$ npx wrangler deploy --dry-runCheck the config and files. Upload nothing.
$ npx wrangler deploy --env stagingShip to the staging copy (a Worker named <name>-staging).
Learn it in: Deploy to Cloudflare from Actions · Official docs