Open lwjohnst86 opened 4 months ago
I've used this command so far to delete the environments:
gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/seedcase-project/seedcase-sprout/environments --jq '.environments.[].name' | while read line ; do gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/seedcase-project/seedcase-sprout/environments/$line ; done
Split out so there is no dependency of lint and test from environment and fly deploy deletion