Skip to content

Commit

Permalink
ci: IFS-3826 used Release environment
Browse files Browse the repository at this point in the history
  • Loading branch information
huy-tran-msg committed Jan 27, 2025
1 parent 76c3715 commit 893928f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@ jobs:
- name: Compile
run: mvn $MAVEN_CLI_OPTS -Drevision=${{ github.ref_name }} compile

DeployMavenCentral:
DeployReleaseVersion:
needs: [Compile]
uses: IsyFact/isy-github-actions-templates/.github/workflows/maven_deploy_template.yml@v1.5.0
uses: IsyFact/isy-github-actions-templates/.github/workflows/maven_deploy_template.yml@v1.6.0
with:
version: ${{ github.ref_name }}
deploy-server-id: ossrh
maven-opts: '-P centralRelease'
sbom: true
sign: true
environment: 'Release'
secrets:
GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
DEPLOY_SERVER_USER_NAME: ${{ secrets.MAVEN_CENTRAL_USER_NAME }}
DEPLOY_SERVER_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
DEPLOY_SERVER_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

0 comments on commit 893928f

Please sign in to comment.