akamai-consulting / akamai-starterkit

MIT License
4 stars 0 forks source link

Delete existing Deployments on Merge #17

Closed aweingarten closed 5 months ago

aweingarten commented 5 months ago

User Story

When a PR is merged or closed or branch deleted I expect my deployment to be deleted

Implementation details

https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28#delete-a-deployment

aweingarten commented 5 months ago

Verified that environments are destroyed and that when the token is invalid that builds fail.