Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
eschleb committed Oct 1, 2024
1 parent f3eae85 commit d0b8be8
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/release-and-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,26 @@ jobs:
with:
distribution: temurin
java-version: 17
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-passphrase: MAVEN_GPG_PASSPHRASE
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
- name: Maven setup
uses: s4u/[email protected]
with:
servers: |
[
{
"id": "magnolia.enterprise.group",
"username": "${{secrets.MGNL_NEXUS_USER}}",
"password": "${{secrets.MGNL_NEXUS_PASS}}"
},
{
"id": "central",
"username": "${{secrets.SONATYPE_USER}}",
"password": "${{secrets.SONATYPE_PASSWORD}}"
},
{
"id": "gpg.passphrase",
"passphrase": "${{secrets.GPG_PASSPHRASE}}",
}
]
- name: Release Maven package
run: mvn deploy -Pdeploy
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: mvn deploy -Pdeploy

0 comments on commit d0b8be8

Please sign in to comment.