Deploy build output to production
cloudflare pages
// what it does
Uploads a directory of built static assets (and any `functions/` or `_worker.js`) as a new production deployment. This is the everyday ship command — point it at your framework's build output (`dist`, `build`, `out`, etc.).
// shell
$ wrangler pages deploy ./dist --project-name my-app// gotcha
`--project-name` is required unless `name` and `pages_build_output_dir` are set in `wrangler.jsonc`; if the named project doesn't exist yet, deploy prompts to create it.