Skip to content

Commit

Permalink
use user token for sonatype auth (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanrb123 authored Jul 17, 2024
1 parent 3fc184a commit 48f54f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ jobs:
distribution: 'corretto'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
server-password: MAVEN_USER_TOKEN
gpg-private-key: ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Deploy
Expand All @@ -419,3 +419,4 @@ jobs:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SONATYPE_PASSPHRASE }}
MAVEN_USER_TOKEN: ${{ secrets.SONATYPE_USER_TOKEN }}

0 comments on commit 48f54f8

Please sign in to comment.