* 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>
25 lines
584 B
YAML
25 lines
584 B
YAML
name: Cleanup Review Apps
|
|
on:
|
|
schedule:
|
|
- cron: '0 7 * * *'
|
|
# At 07:00, daily
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
cleanup-review-apps:
|
|
runs-on: ubuntu-latest
|
|
environment: 'Review Apps'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
|
|
- name: install jq
|
|
run: |
|
|
sudo apt-get -qq update
|
|
sudo apt-get install -y jq
|
|
|
|
- run: .github/scripts/cleanup-review-apps.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|