Skip to content

Commit

Permalink
ci:
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Oct 27, 2024
1 parent 66c9d71 commit c091c53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: ${{ secrets.MAVEN_USERNAME }} # Use the actual secret
server-password: ${{ secrets.MAVEN_PASSWORD }} # Use the actual secret
server-password-encrypted: false # Disable encryption
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} # Use the actual secret
gpg-passphrase-encrypted: false # Disable encryption
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
Expand All @@ -45,7 +47,8 @@ jobs:
deploy \
--batch-mode \
--no-transfer-progress \
-Dgpg.skip=false
-Dgpg.skip=false \
-Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
Expand Down

0 comments on commit c091c53

Please sign in to comment.