Skip to content

Commit

Permalink
fix conditional env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
acaiado committed Mar 7, 2024
1 parent 59b1284 commit d9103b8
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_name }}" == "pull_request" && "${{ github.event.pull_request.merged }}" == "true"
release_published: "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published"
pr_merged: '${{ github.event_name }}' == 'pull_request' && '${{ github.event.pull_request.merged }}' == 'true'
release_published: '${{ github.event_name }}' == 'release' && '${{ github.event.action }}' == 'published'
steps:
- name: Validate release target branch
if: ${{ github.event_name == 'release' }}
Expand Down

0 comments on commit d9103b8

Please sign in to comment.