From 9b799883e8839b3d200425daa3b7d57cbb3f39f8 Mon Sep 17 00:00:00 2001 From: Slavko Rihtaric Date: Wed, 10 Jul 2024 09:26:16 +0200 Subject: [PATCH] Set repository for maven deploy --- .github/workflows/publish_sdk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_sdk.yml b/.github/workflows/publish_sdk.yml index 9dc547e..4b34fb8 100644 --- a/.github/workflows/publish_sdk.yml +++ b/.github/workflows/publish_sdk.yml @@ -48,7 +48,7 @@ jobs: path: ${{ github.workspace }}/src/.m2/settings.xml - name: Publish SDK - run: mvn --batch-mode -DuseGitHubPackages=true deploy -s .m2/settings.xml + run: mvn --batch-mode -DuseGitHubPackages=true -DaltDeploymentRepository=github::https://maven.pkg.github.com/databox/maven-libraries deploy -s .m2/settings.xml env: GITHUB_TOKEN: ${{ secrets.PACKAGES_PUBLISH_TOKEN }} GITHUB_USERNAME: ${{ github.actor }}