diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 694433a..2925662 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} release: - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: [build, scan] steps: @@ -77,6 +77,7 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-passphrase: MAVEN_GPG_PASSPHRASE - id: publish run: mvn --batch-mode --no-transfer-progress deploy -Prelease env: