Skip to content

Commit

Permalink
try this logic
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelknafo committed Feb 21, 2025
1 parent ade46eb commit 3ef545a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/owasp_pygoat_ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: ${{ inputs.environmentName }}-${{ inputs.instanceNumber }}
if: success() && inputs.deployInfra == 'true' && inputs.teardown == 'false'
if: success() && ${{ github.event.inputs.deployInfra == 'true' }} && ${{ github.event.inputs.teardown != 'true' }}
steps:
- name: checkout
uses: actions/checkout@v4.1.0
Expand Down

0 comments on commit 3ef545a

Please sign in to comment.