From f4023e062fbc90f4ffb3c182ffd9ce1636a3b229 Mon Sep 17 00:00:00 2001 From: kundan59 Date: Thu, 7 Sep 2023 16:01:05 +0530 Subject: [PATCH] update workflow 11 --- .github/workflows/common-service-pipeline.yml | 2 ++ servicedeploy.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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