Skip to content

Conversation

@VoloshchenkoAl
Copy link

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 VoloshchenkoAl requested review from a team as code owners February 11, 2025 22:36
@VoloshchenkoAl VoloshchenkoAl force-pushed the feat/add-deployment-name branch from 63e97e2 to f940b70 Compare February 11, 2025 22:52
@VoloshchenkoAl VoloshchenkoAl force-pushed the feat/add-deployment-name branch from f940b70 to 77deadf Compare April 10, 2025 19:45
@VoloshchenkoAl VoloshchenkoAl changed the title feat: ✨ added new DEPLOYMENT_NAME input param for the action feat: ✨ added new DEPLOYMENT_ENVIRONMENT input param for the action Apr 10, 2025
Copy link

@jrencz jrencz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the adjustment. Now it's just right

@kubk
Copy link

kubk commented Apr 16, 2025

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

@5ouma 5ouma mentioned this pull request Jun 25, 2025
1 task
@sebdanielsson
Copy link

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

@WhiteHoodHacker
Copy link

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 :(

@jbowring
Copy link

+1 vote for this getting merged. Would be a very useful feature, thanks @VoloshchenkoAl for your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants