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 }}