diff --git a/.github/workflows/deploy-to-github.yml b/.github/workflows/deploy-to-github.yml index 92aa851..cb36cdd 100644 --- a/.github/workflows/deploy-to-github.yml +++ b/.github/workflows/deploy-to-github.yml @@ -21,11 +21,11 @@ jobs: - name: Publish Package - lib-hl7v2-nist run: mvn -B package - - name: Publish package to github Repo - run: mvn clean deploy --settings .github/workflows/mvn-settings.xml - env: - LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}' - LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}' + # - name: Publish package to github Repo + # run: mvn clean deploy --settings .github/workflows/mvn-settings.xml + # env: + # LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}' + # LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}' - name: Publish package to Maven Central run: mvn clean -X deploy --settings .github/workflows/mvn-settings.xml diff --git a/.github/workflows/mvn-settings.xml b/.github/workflows/mvn-settings.xml index 76d6a7f..aec48dc 100644 --- a/.github/workflows/mvn-settings.xml +++ b/.github/workflows/mvn-settings.xml @@ -1,10 +1,10 @@ - + central ${env.SONATYPE_USERNAME}