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 327f6b7 commit cc8f72a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_to_central.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
java-version: "11"
distribution: "adopt"
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
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 -Dproject.username=${{ secrets.OSSRH_USERNAME }} -Dproject.password=${{ secrets.OSSRH_TOKEN }} deploy -Pdeploy
run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -s ~/.m2/settings.xml deploy -Pdeploy

0 comments on commit cc8f72a

Please sign in to comment.