Skip to content

Commit

Permalink
pass credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jul 31, 2024
1 parent cc8f72a commit 7dbd739
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy_to_central.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ jobs:
java-version: "11"
distribution: "adopt"
server-id: ossrh
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
- name: Publish package
run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -s ~/.m2/settings.xml deploy -Pdeploy
run: mvn --batch-mode deploy -Pdeploy

0 comments on commit 7dbd739

Please sign in to comment.