nick_flux
nick_flux
CDCloudflare Developers
Created by nick_flux on 3/5/2024 in #pages-help
How to specify "production" deploy via wrangler?
We're not using the git integration, but still pass "--branch" parameters when deploying so that we get aliasing. The problem seems to be that unless the branch name is main, all deploys are considered previews. Is there a way around this or some undocumented method to consider a specific preview as the production version of a page?
9 replies
CDCloudflare Developers
Created by nick_flux on 3/5/2024 in #pages-help
Wrangler pages --json output?
We are bypassing the Git integration and using the wrangler CLI for deploying builds in CI and want to output the permalink (not the branch alias). I don't see any reference to a JSON output, any way to filter the page deployments list command, or really anything to help get this permalink in a clean way. Does it exist, if not how are others handling this? I could just scrape the output for Deployment complete! Take a peek over at, but that feels brittle.
1 replies