Cannot deploy to production

I’m using Direct upload Pages with uploading via wrangler.
Despite it’s set --branch=production it’s deploying it as “preview”…
If I go to my-project-name.pages.dev I will see “Nothing is here yet”

How to publish it via wrangler correctly?

1 Like

Try with --branch=main

2 Likes

Yep, it works.
I thnis it will be better to add it to CF pages documentation.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.