From 6b2bbaedced799ec8c88ff37abc3870ef3ca0f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20y=C4=B1ld=C4=B1z?= <90348934+omeryldzk@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:14:17 +0300 Subject: [PATCH] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 4e392511..173b64f0 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -32,16 +32,5 @@ jobs: mvn -B package --file local_backend/pom.xml fi - - name: Publish to GitHub Packages Apache Maven - run: | - if [ "${{ github.ref_name }}" == "master" ]; then - mvn -X deploy -s $GITHUB_WORKSPACE/settings.xml --file backend/pom.xml \ - -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/omeryldzk/spring-boot-atmProject - elif [ "${{ github.ref_name }}" == "localhost" ]; then - mvn -X deploy -s $GITHUB_WORKSPACE/settings.xml --file local_backend/pom.xml \ - -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/omeryldzk/spring-boot-atmProject - fi - - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}