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: npx wrangler deploy --assets=./dist but then It returned another error:

13:38:13.396    ▲ [WARNING] Failed to match Worker name. Your config file is using the Worker name "undefined", but the CI system expected "numerus". Overriding using the CI provided Worker name. Workers Builds connected builds will attempt to open a pull request to resolve this config name mismatch.
13:38:13.397    
13:38:13.397    
13:38:14.056    
13:38:14.058    ✘ [ERROR] A compatibility_date is required when publishing. Add the following to your Wrangler configuration file:
13:38:14.058    
13:38:14.058          

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 🪵 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
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
Was this page helpful?