Skip to content

Commit

Permalink
publish with token user and password
Browse files Browse the repository at this point in the history
  • Loading branch information
DQinYuan committed Sep 27, 2024
1 parent 8e6b3f5 commit d6f63a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- name: Publish to Maven Central Repo
run: mvn clean deploy --batch-mode --activate-profiles deploy
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_USER: ${{ secrets.OSSRH_TOKEN_USER }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}

0 comments on commit d6f63a5

Please sign in to comment.