npx wrangler pages deploy ./dist

Category: Cloudflare

npx wrangler pages deploy ./dist

Deploy a static build to Pages

Uploads everything in ./dist as a new deployment of the Pages project, which defaults to the project name from config or an interactive prompt. The command prints the production and preview URLs. Requires the project to exist first: run `npx wrangler pages project create my-site` once.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.