Skip to content

Commit

Permalink
fix if conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
acaiado committed Mar 7, 2024
1 parent 5244c5b commit 167b4dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
deploy: ${{ steps.set-deploy.outputs.DEPLOY }}
environment: ${{ steps.set-deploy.outputs.ENVIRONMENT }}
env:
pr_merged: ${{ github.event.pull_request.merged }} == "true" && ${{ github.event_name }} == "pull_request"
release_published: ${{ github.event.action }} == "published" && ${{ github.event_name }} == "release"
pr_merged: ${{ github.event.pull_request.merged }} == "true" && ${{ github.event_name }} == "pull_request" || false
release_published: ${{ github.event.action }} == "published" && ${{ github.event_name }} == "release" || false
steps:
- name: Validate release target branch
if: ${{ github.event_name == 'release' }}
Expand Down

0 comments on commit 167b4dd

Please sign in to comment.