Skip to content

Commit

Permalink
Update waf-on-ce-aws-destroy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ishikaray16 authored Dec 2, 2024
1 parent eeee405 commit e914d51
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/waf-on-ce-aws-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: exit 1

- name: Terraform Apply
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && github.event_name == 'push'
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: terraform destroy -auto-approve -input=false

terraform_boutique:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
run: exit 1

- name: Terraform Apply
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && github.event_name == 'push'
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: terraform destroy -auto-approve -input=false

terraform_eks_destroy:
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
run: exit 1

- name: Terraform Destroy
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && github.event_name == 'push'
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: terraform destroy -auto-approve -input=false


Expand Down Expand Up @@ -301,5 +301,5 @@ jobs:
run: exit 1

- name: Terraform Destroy
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && github.event_name == 'push'
run: terraform destroy -auto-approve -input=false
if: github.ref == 'refs/heads/destroy-waf-aws-ce' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: terraform destroy -auto-approve -input=false

0 comments on commit e914d51

Please sign in to comment.