Cleanup NS8 CI #97
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-cleanup: | |
| name: Remove unused NS8 CI resources | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Execute ns8-ci.sh | |
| run: ./scripts/ns8-ci.sh --delete | |
| env: | |
| DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.NS8_CI_DIGITALOCEAN_TOKEN }} |