Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TruongQuangSB authored Jun 3, 2024
1 parent 6c1c2bb commit 4b2e804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ jobs:
- name: Publish
shell: bash
run: |
repoPath=local::file://${{github.workspace}}/set-m2deploy
deployPath=local::file://${{github.workspace}}/set-m2deploy
if [ ${{ github.ref }} == 'refs/heads/main' || startsWith(${{ github.ref }}, 'refs/heads/release/') || startsWith(${{ github.ref }}, 'refs/tags/')]; then
repoPath=set-github::https://maven.pkg.github.com/${{ github.repository }}
fi
mvn -T 1.5C -B deploy --settings .github/settings.xml -DaltDeploymentRepository=${{repoPath}}
mvn -T 1.5C -B deploy --settings .github/settings.xml -DaltDeploymentRepository=${{deployPath}}
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 4b2e804

Please sign in to comment.