Deploy a Pages project to production
deploy & domains
// what it does
Uploads a built directory to Cloudflare Pages and promotes it to the production deployment for that project. Point it at your framework's output — ./dist, ./out, .svelte-kit/cloudflare. The project must already exist (created in the dashboard or via wrangler pages project create).
// shell
$ wrangler pages deploy ./dist --project-name my-site// gotcha
A deploy on the production branch goes straight live — Pages has no separate publish step. Pages uses its own project config and bindings, not the [vars]/bindings a Workers wrangler deploy would read.