Deploy command is now required when publishing a site to Pages?
I'm trying to publish a simple React page to Pages, but it seems that wrangler is required and the "Deploy Command" is required in the form.
So what is the correct way to publish a simple page now?
I tried to change the deploy command to:
13:38:14.058 {"compatibility_date":"2025-11-25"}
13:38:14.058
13:38:14.058 See https://developers.cloudflare.com/workers/platform/compatibility-dates for more information.
13:38:14.058
13:38:14.058
13:38:14.074
13:38:14.075 Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
13:38:14.087
Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-11-25_12-38-12_787.log"
13:38:14.137 Failed: error occurred while running deploy command
So what is the correct way to publish a simple page now?
I tried to change the deploy command to:
npx wrangler deploy --assets=./dist but then It returned another error:13:38:14.058 {"compatibility_date":"2025-11-25"}
13:38:14.058
``
13:38:14.058 Or you could pass it in your terminal as --compatibility-date 2025-11-25`13:38:14.058 See https://developers.cloudflare.com/workers/platform/compatibility-dates for more information.
13:38:14.058
13:38:14.058
13:38:14.074
13:38:14.075 Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
13:38:14.087
13:38:14.137 Failed: error occurred while running deploy command
Cloudflare Docs
Opt into a specific version of the Workers runtime for your Workers project.

GitHub
Home to Wrangler, the CLI for Cloudflare Workers® - cloudflare/workers-sdk
