Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
omeryldzk authored Aug 15, 2024
1 parent 6b28b88 commit 6b2bbae
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6b2bbae

Please sign in to comment.