diff --git a/.github/workflows/deploy-maven.yml b/.github/workflows/deploy-maven.yml
index 13b573b..14148ee 100644
--- a/.github/workflows/deploy-maven.yml
+++ b/.github/workflows/deploy-maven.yml
@@ -17,8 +17,8 @@ jobs:
- id: install-secret-key
name: Install gpg secret key
run: |
- cat <(echo -e "${{ secrets.OSSRH_GPG_KEY }}") | gpg --batch --import
- gpg --list-secret-keys --keyid-format LONG
+ cat <(echo -e "${{ secrets.OSSRH_GPG_KEY }}") | gpg --batch --import
+ gpg --list-secret-keys --keyid-format LONG
- id: publish-to-central
name: Publish to Central Repository
env:
@@ -30,9 +30,10 @@ jobs:
--no-transfer-progress \
--batch-mode \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
+ -P ossrh \
clean deploy
- id: push-new-version
- name: push new version
+ name: push new version
run: |
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git
cd keycloak-mail-whitelisting
diff --git a/pom.xml b/pom.xml
index fc624d5..bd413a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,56 +97,56 @@
-
+
-
- ossrh
-
- true
-
-
- gpg
-
-
-
-
- ossrh
- Central Repository OSSRH
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
+
+ ossrh
+
+ false
+
+
+ gpg
+
+
+
+
+ ossrh
+ Central Repository OSSRH
+ https://s01.oss.sonatype.org/content/repositories/snapshots
+
- ossrh
- Central Repository OSSRH
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 3.0.1
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
-
- --pinentry-mode
- loopback
-
-
-
-
-
-
-
+ ossrh
+ Central Repository OSSRH
+ https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.0.1
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
+
+
+
+
\ No newline at end of file