diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 45df27a..f9f07fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,10 +28,10 @@ jobs: distribution: 'adopt' java-version: 17 server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_CENTRAL_TOKEN - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + server-username: ${{ secrets.MAVEN_USERNAME }} + server-password: ${{ secrets.MAVEN_CENTRAL_TOKEN }} + gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} + gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Verify with Maven if: github.event_name == 'pull_request'