diff --git a/.github/workflows/deploy-android.yml b/.github/workflows/deploy-android.yml index cd2898019..f2543b35d 100644 --- a/.github/workflows/deploy-android.yml +++ b/.github/workflows/deploy-android.yml @@ -47,8 +47,8 @@ jobs: distribution: 'temurin' java-version: '8' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml - server-username: MAVEN_USERNAME # env variable for username in deploy - server-password: MAVEN_PASSWORD # env variable for token in deploy + server-username: ${{ secrets.SONATYPE_USR }} # env variable for username in deploy + server-password: ${{ secrets.SONATYPE_PWD }} # env variable for token in deploy gpg-private-key: ${{ secrets.SONATYPE_PKEY }} # Value of the GPG private key to import - name: Publish package to central maven repository run: cd concordium-android-sdk && mvn --batch-mode deploy diff --git a/concordium-android-sdk/pom.xml b/concordium-android-sdk/pom.xml index e3fbeb822..89e92cbe5 100644 --- a/concordium-android-sdk/pom.xml +++ b/concordium-android-sdk/pom.xml @@ -207,7 +207,7 @@ ossrh Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ \ No newline at end of file