Cleanup NS8 CI #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cleanup NS8 CI | |
| on: | |
| schedule: | |
| # Runs every night at 04:00 UTC | |
| - cron: '0 4 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| run-doctl: | |
| name: Execute ns8-ci.sh --delete | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Make script executable | |
| run: chmod +x ./scripts/doctl-ns8-ci.sh | |
| - name: Remove unused NS8 CI resources | |
| run: ./scripts/ns8-ci.sh | |
| env: | |
| DIGITALOCEAN_TOKEN: ${{ secrets.NS8_CI_DIGITALOCEAN_TOKEN }} |