From 7da8e792280a714682b9a67ea9b53884ff9119a7 Mon Sep 17 00:00:00 2001 From: kundan59 Date: Thu, 28 Sep 2023 13:31:29 +0530 Subject: [PATCH] updat common deplostep --- .github/workflows/car-demo-pipeline.yml | 6 +++--- apps-deployment-script.sh | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/car-demo-pipeline.yml b/.github/workflows/car-demo-pipeline.yml index 93cfa0ac..2a73e04d 100644 --- a/.github/workflows/car-demo-pipeline.yml +++ b/.github/workflows/car-demo-pipeline.yml @@ -36,7 +36,7 @@ jobs: gcloud --quiet auth configure-docker - name: Build, Publish, and Deploy - env: - GITHUB_TOKEN: ${{ github.token }} run: | - . apps-deployment-script.sh "us-east1" \ No newline at end of file + . apps-deployment-script.sh "us-east1" + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/apps-deployment-script.sh b/apps-deployment-script.sh index 61379fbe..a8791ace 100644 --- a/apps-deployment-script.sh +++ b/apps-deployment-script.sh @@ -43,7 +43,8 @@ do "common") echo "=========================Deploying common package==================" cd common || exit - mvn -B clean deploy --file pom.xml + mvn -B package --file pom.xml + mvn deploy -s $GITHUB_WORKSPACE/settings.xml cd ..;; # case 2 build and deploy order-service