Skip to content

Cleanup iOS Test Apps #610

Cleanup iOS Test Apps

Cleanup iOS Test Apps #610

Workflow file for this run

name: Cleanup iOS Test Apps
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
inputs:
dry_run:
description: "Dry run"
default: false
type: boolean
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Clean up stale apps
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: |
ARGS=""
[ "${{ inputs.dry_run }}" = "true" ] && ARGS="--dry-run"
./sdks/ios/dev/fly/cleanup $ARGS --max-age 2