Skip to content

Commit

Permalink
ci: improve the detection of credentials existence
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Jun 30, 2022
1 parent 657fc01 commit 117f752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
should-deploy: >-
${{
runner.os == 'Linux'
&& contains('push workflow_dispatch', github.event_name)
&& contains(github.repository, 'DanySK/')
&& (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
}}
maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
signing-key: ${{ secrets.SIGNING_KEY }}
Expand Down

0 comments on commit 117f752

Please sign in to comment.