Skip to content

Commit

Permalink
Hotfix for failing build on non-PR
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jul 1, 2023
1 parent 21111c5 commit 552e697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ jobs:
src: 'build/distribution/'
dest: jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
- name: Comment PR
if: steps.checksecrets.outputs.secretspresent == 'YES'
if: github.event_name == 'pull_request' && steps.checksecrets.outputs.secretspresent == 'YES'
uses: thollander/actions-comment-pull-request@v2
with:
message: |
Expand Down

0 comments on commit 552e697

Please sign in to comment.