diff --git a/.github/workflows/waf-on-ce-aws-destroy.yml b/.github/workflows/waf-on-ce-aws-destroy.yml index 6a8a1fcd0..96c7b4484 100644 --- a/.github/workflows/waf-on-ce-aws-destroy.yml +++ b/.github/workflows/waf-on-ce-aws-destroy.yml @@ -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: @@ -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: @@ -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 @@ -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 \ No newline at end of file + 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