diff --git a/.github/workflows/deploy_to_central.yaml b/.github/workflows/deploy_to_central.yaml index 25917d4c..98c1b805 100644 --- a/.github/workflows/deploy_to_central.yaml +++ b/.github/workflows/deploy_to_central.yaml @@ -29,4 +29,4 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Publish package - run: mvn --batch-mode -s ~/.m2/settings.xml deploy -Pdeploy + run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -s ~/.m2/settings.xml -Dproject.username=${{ secrets.OSSRH_USERNAME }} -Dproject.password=${{ secrets.OSSRH_TOKEN }} deploy -Pdeploy