mirror of
https://github.com/tiennm99/koyeb-example-spring-boot.git
synced 2026-07-19 04:20:08 +00:00
21 lines
464 B
YAML
21 lines
464 B
YAML
name: Cleanup Koyeb application
|
|
|
|
on:
|
|
delete:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
cleanup:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install and configure the Koyeb CLI
|
|
uses: koyeb-community/koyeb-actions@v2
|
|
with:
|
|
api_token: "${{ secrets.KOYEB_EXAMPLES_APPS_TOKEN }}"
|
|
|
|
- name: Cleanup Koyeb application
|
|
uses: koyeb/action-git-deploy/cleanup@v1
|
|
with:
|
|
app-name: spring-boot-${{ github.event.ref }}
|