Cleanup Koyeb application #5
This file contains 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 Koyeb application | |
on: | |
delete: | |
branches: | |
- '*' | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install and configure the Koyeb CLI | |
uses: koyeb-community/install-koyeb-cli@v2 | |
with: | |
api_token: "${{ secrets.KOYEB_EXAMPLES_APPS_TOKEN }}" | |
- name: Cleanup Koyeb application | |
uses: koyeb/action-git-deploy/cleanup@v1 | |
with: | |
app-name: django-${{ github.event.ref }} |