-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pages deploy
does not deploy to production
#337
Comments
Yepp, that's right, it's a horribly named option as it's just a named reference to the deployment configured in Cloudflare (as "Source"). But there's no correlation to the branch, as wrangler will upload whatever asset(s) are on the commit that was checked out. Furthermore, it amazes me to no end that Cloudflare lacks support for tags and multiple environments (dev, stage, production etc.) and that they claim that "most" use a Git Flow branch strategy. Which I'm pretty sure is a lie. Anyway, enough ranting. Using the "--branch" option, once we understood it has nothing to do with branches, helped us solve so that we can publish previews for PRs, dev (main branch), and stage (release branches). The only thing missing now is having static domains for dev and stage. The jury is out on if that's supported or not. |
I'm trying to deploy to
production
(notpreview
). There doesn't seem to be an option to do so.The text was updated successfully, but these errors were encountered: