Skip to content

Commit

Permalink
Test if conditional setting works by inverting condition
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 18, 2024
1 parent ad8233a commit a4aa211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
uses: docker/build-push-action@v6
with:
secrets: |
"sentry_auth_token=${{ matrix.image == 'frontend' && ((github.event_name == 'push' && github.repository == 'WordPress/openverse') ||(github.event_name == 'workflow_dispatch' && inputs.perform_deploy)) && secrets.SENTRY_AUTH_TOKEN || ''}}"
"sentry_auth_token=${{ matrix.image == 'frontend' && !((github.event_name == 'push' && github.repository == 'WordPress/openverse') ||(github.event_name == 'workflow_dispatch' && inputs.perform_deploy)) && secrets.SENTRY_AUTH_TOKEN || ''}}"
context: ${{ matrix.context }}
target: ${{ matrix.target }}
push: false
Expand Down

0 comments on commit a4aa211

Please sign in to comment.