cloudflare / pages-action

MIT License
473 stars 97 forks source link

Use more stable naming of GitHub deployment/envionment names #17

Closed ngbrown closed 1 year ago

ngbrown commented 2 years ago

Currently this action is producing a unique "Deployed to Preview (hash)" that adds to the repository "Environments" section on the sidebar.

I would prefer to limit the number of the environments, probably by project name. So the name should be "Deployed to Preview (projectName)".

This is the current code setting this name:

https://github.com/cloudflare/pages-action/blob/212ce69b839f084c4ab0e402a425164e4d3a85d4/src/index.ts#L132-L134

soup-bowl commented 1 year ago

I'm certainly in favour of this being added.

'production' listed 3 times, with a label saying 7 more environments