cicd: Stop action needs checkout #2
Workflow file for this run
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
env: | |
KUBECONFIG: /tmp/github-ci.kubeconfig | |
jobs: | |
stop: | |
environment: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
with: | |
KUBECONFIG_DATA: "${{ secrets.KUBECONFIG_TEST }}" | |
- env: {} | |
name: k8ify stop | |
run: | | |
kubectl delete deployments,statefulsets,secrets,persistentvolumeclaims,ingresses,services,cronjobs -l "k8ify.ref-slug=${K8IFY_DEPLOYMENT}" | |
kubectl delete claim -l "k8ify.ref-slug=${K8IFY_DEPLOYMENT}" || true | |
name: Stop test | |
"on": | |
pull_request: | |
types: | |
- closed | |
workflow_dispatch: {} |