From f6a5ead32eb2ba59079397d2b1feb8531c0c63c1 Mon Sep 17 00:00:00 2001 From: kundan59 Date: Thu, 7 Sep 2023 16:19:24 +0530 Subject: [PATCH] update workflow 12 --- .github/workflows/common-service-pipeline.yml | 2 +- servicedeploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common-service-pipeline.yml b/.github/workflows/common-service-pipeline.yml index 0beb4485..929fcdba 100644 --- a/.github/workflows/common-service-pipeline.yml +++ b/.github/workflows/common-service-pipeline.yml @@ -23,6 +23,6 @@ jobs: - name: Build and Publish Maven env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github. }} run: | . servicedeploy.sh \ No newline at end of file diff --git a/servicedeploy.sh b/servicedeploy.sh index 1c6c1873..bbc0458e 100644 --- a/servicedeploy.sh +++ b/servicedeploy.sh @@ -2,5 +2,5 @@ cwd=`pwd` cd Common - +mvn -B package --file pom.xml mvn -B clean deploy -s $GITHUB_WORKSPACE/settings.xml --file pom.xml \ No newline at end of file