From a02d2f713b12a69b99c0b92a651572d5011824a6 Mon Sep 17 00:00:00 2001 From: "Richard Perez Jr." Date: Tue, 30 Jul 2024 00:10:18 -0400 Subject: [PATCH] Fixed if condition in deploy workflow --- .github/workflows/deploy-aws.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-aws.yml b/.github/workflows/deploy-aws.yml index 54e007b..6a5369d 100644 --- a/.github/workflows/deploy-aws.yml +++ b/.github/workflows/deploy-aws.yml @@ -19,7 +19,7 @@ jobs: build-and-deploy: runs-on: ubuntu-latest environment: ${{ github.ref_name }} - if: github.event.inputs.confirmation == 'YES' && github.event_name == 'workflow_dispatch' + if: github.event.inputs.confirmation == 'YES' || github.event_name != 'workflow_dispatch' steps: - name: Checkout repository uses: actions/checkout@v1