Skip to content

Commit

Permalink
Fixed if condition in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
richardp23 committed Jul 30, 2024
1 parent 0d23d71 commit a02d2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a02d2f7

Please sign in to comment.