diff --git a/.github/workflows/common-service-pipeline.yml b/.github/workflows/common-service-pipeline.yml index 86bc548a..0beb4485 100644 --- a/.github/workflows/common-service-pipeline.yml +++ b/.github/workflows/common-service-pipeline.yml @@ -17,6 +17,8 @@ jobs: with: java-version: '19' distribution: 'temurin' + server-id: github + settings-path: ${{ github.workspace }} cache: maven - name: Build and Publish Maven diff --git a/servicedeploy.sh b/servicedeploy.sh index 0487ac68..1c6c1873 100644 --- a/servicedeploy.sh +++ b/servicedeploy.sh @@ -3,4 +3,4 @@ cwd=`pwd` cd Common -mvn -B -e -X clean deploy --file pom.xml \ No newline at end of file +mvn -B clean deploy -s $GITHUB_WORKSPACE/settings.xml --file pom.xml \ No newline at end of file