Skip to content

Commit

Permalink
fix notify failing when not a Pull request on ff-prod deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga authored Mar 27, 2024
1 parent 327bb18 commit f906384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/centrifuge-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || inputs.deploy_env == 'ff-prod'
if: github.event_name == 'pull_request' || (inputs.deploy_env == 'ff-prod' && github.event_name == 'pull_request')
steps:
- name: PR comment with preview URL
id: prcomment
Expand Down

0 comments on commit f906384

Please sign in to comment.