Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleOps committed Jun 3, 2024
1 parent 1475365 commit c7fe63f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/k8-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [ "feature/destroy-deploy" ]
pull_request:
workflow_dispatch: # Manual trigger


permissions:
Expand Down Expand Up @@ -52,7 +51,7 @@ jobs:
working-directory: ${{ env.working-dir }}

- name: Terraform Destroy
if: github.ref == 'refs/heads/feature/destroy-deploy' && github.event_name == 'workflow_dispatch'
if: github.ref == 'refs/heads/feature/destroy-deploy'
run: terraform apply -destroy -auto-approve -input=false
working-directory: ${{ env.working-dir }}

0 comments on commit c7fe63f

Please sign in to comment.