Skip to content

Commit

Permalink
ci: IFS-4169 added DeployGitHubPackages job to Maven Build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
huy-tran-msg committed Oct 9, 2024
1 parent 4b4afc9 commit 2220a40
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/maven_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,20 @@ jobs:
jdk-version: 21
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# DeployGitHubPackages:
# if: github.event_name == 'push' && (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/release/'))
# needs: [MavenBuild, Version]
# uses: IsyFact/isy-github-actions-templates/.github/workflows/[email protected]
# with:
# version: ${{ needs.Version.outputs.next-version }}
# jdk-version: 21
# maven-opts: '-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/IsyFact/isy-util'
# deploy-server-id: github
# sbom: ${{ startsWith(github.ref, 'refs/heads/release/') }}
# sign: true
# secrets:
# GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
# GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
# DEPLOY_SERVER_USER_NAME: ${{ github.actor }}
# DEPLOY_SERVER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2220a40

Please sign in to comment.