Files
shields/.github/scripts/cleanup-review-apps.sh
chris48s 8d060fd419 add fly.io PR review apps (#9069)
* add fly.io PR review apps

* add fly.toml to dockerignore

* merge branch instead of applying diff

---------

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-04-16 12:14:01 +00:00

11 lines
185 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
apps=$(flyctl apps list --json | jq -r .[].ID | grep -E "pr-[0-9]+-badges-shields") || exit 0
for app in $apps
do
flyctl apps destroy "$app" -y
done