diff --git a/.github/scripts/push-to-nexus.sh b/.github/scripts/push-to-nexus.sh index df80cc3..e4dbc7d 100755 --- a/.github/scripts/push-to-nexus.sh +++ b/.github/scripts/push-to-nexus.sh @@ -5,7 +5,7 @@ export GPG_TTY=$(tty) echo $GPG_SIGNING_KEY | base64 -d > signing.gpg gpg --batch --import signing.gpg -GPG_EXECUTABLE=gpg ./mvnw -DskipTests -s ./.github/scripts/settings.xml -P ossrh clean deploy +GPG_EXECUTABLE=gpg ./mvnw -DskipTests -s ./.github/scripts/settings.xml -P central-sonatype clean deploy rm -rf signing.gpg gpg --delete-keys diff --git a/pom.xml b/pom.xml index 4be2077..e1cade4 100644 --- a/pom.xml +++ b/pom.xml @@ -392,7 +392,7 @@ - ossrh + central-sonatype false