Skip to content

Commit 61ccff2

Browse files
committed
Add secrets for Maven Central deployment to release workflow
1 parent 7656634 commit 61ccff2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125

126126
- name: Deploy to Maven Central
127127
env:
128+
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
129+
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}
128130
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
129131
run: mvn -B clean deploy -Prelease -DskipTests -Dgpg.useAgent=false
130132

0 commit comments

Comments
 (0)