From 39a74e079d93734ad58be7a8b2d639fee8b7273c Mon Sep 17 00:00:00 2001 From: LamSut Date: Wed, 16 Oct 2024 09:01:23 +0700 Subject: [PATCH] ok --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b89cc8..16d4771 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,12 @@ name: Terraform Pipeline on: - push: - branches: [main] + workflow_dispatch: + inputs: + destroy: + description: Whether to destroy Terraform resources + required: true + type: boolean env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}