From d34e5a8b11f563d25ce9c2efd77251f04ce5cd7a Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Wed, 31 Jul 2024 16:11:26 +0200 Subject: [PATCH] more env --- .github/workflows/deploy_to_central.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_to_central.yaml b/.github/workflows/deploy_to_central.yaml index 9ea5816c..cc6a5163 100644 --- a/.github/workflows/deploy_to_central.yaml +++ b/.github/workflows/deploy_to_central.yaml @@ -18,10 +18,12 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} - gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + gpg-private-key: GPG_KEY + gpg-passphrase: GPG_PASS - name: Publish package run: mvn deploy -Pdeploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + GPG_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }} + GPG_PASS: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}