ACCESS-NRI / ACCESS-OM2

ACCESS-OM2: ACCESS Ocean-Sea Ice Model
Apache License 2.0
5 stars 0 forks source link

Remove failed deployments < 2023.11.22 #25

Closed CodeGat closed 9 months ago

CodeGat commented 9 months ago

Background The failed deployments are still showing up, even after deleting the workflow runs that failed. Clean this up so the only deployments that show up are after 2023.11.21. These failed runs were created during the initial configuration and aren't required anymore.

Solution

Further information in this StackOverflow post: https://stackoverflow.com/questions/72788012/delete-github-repository-deployment-history

CodeGat commented 9 months ago

Completed by using repeated gh api calls to list deployment IDs and delete deployments that way.