wrangler-action icon indicating copy to clipboard operation
wrangler-action copied to clipboard

feat: :sparkles: added new DEPLOYMENT_ENVIRONMENT input param for the action

Open VoloshchenkoAl opened this issue 10 months ago • 3 comments

The new DEPLOYMENT_NAME input parameter was added for the action. This param is responsible for the custom name of the GitHub Deployment

Why are these changes added?

I have a monorepo with several static sites, that I deploy to the Cloudflare Pages. When I create a Preview for them all, they have the same name — preview, and only the last deployed Site is available through the Deployment panel.

CleanShot 2025-02-12 at 00 28 07@2x

With the changes from this PR, I could:

  • set a custom name for my deployments
  • all deployments will be available with the deployment panel in the PR

View words about the previous action

The pages-action has another solution for the problem. I think that the input parameter is a better solution because gives more flexibility for naming

VoloshchenkoAl avatar Feb 11 '25 22:02 VoloshchenkoAl

Amazing feature, would be nice to get it merged. My use case is the frontend deployed via Pages to dev and prod workers. Both of them have GitHub deployments with the title 'production', which is confusing

kubk avatar Apr 16 '25 08:04 kubk

@Maximo-Guk can we get this merged please?👍

sebdanielsson avatar Jul 30 '25 12:07 sebdanielsson

Any update from maintainers on getting this merged? I have three sites in a monorepo and quickly getting the preview URLs for each site if they all get updated is slightly annoying :(

WhiteHoodHacker avatar Nov 16 '25 01:11 WhiteHoodHacker