From 8eaaf330c77bcb21fb03b5320975c63e9735b93c Mon Sep 17 00:00:00 2001 From: sgknoldus <124128952+sgknoldus@users.noreply.github.com> Date: Thu, 25 Jan 2024 16:33:46 +0530 Subject: [PATCH] Update apps-deployment-script.sh --- apps-deployment-script.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps-deployment-script.sh b/apps-deployment-script.sh index 58e17523..c6a5fc5d 100644 --- a/apps-deployment-script.sh +++ b/apps-deployment-script.sh @@ -22,8 +22,9 @@ build_and_deploy_service(){ cat $GITHUB_WORKSPACE/settings.xml | base64 echo "---------$HOME/.m2/settings.xml ========================" cat $HOME/.m2/settings.xml | base64 - - mvn clean install -s $HOME/.m2/settings.xml + echo "---------See github token ========================" + echo $GITHUB_TOKEN + mvn clean install -X -s $HOME/.m2/settings.xml echo "-------------$SERVICE_NAME deployed ----------" fi } @@ -74,8 +75,10 @@ do mvn -B package --file pom.xml #mvn deploy -X -s $GITHUB_WORKSPACE/settings.xml echo "----------testing#################################################------------------------" - cat $GITHUB_WORKSPACE/settings.xml | base64 - cat $HOME/.m2/settings.xml | base64 + echo "---------$HOME/.m2/settings.xml ========================" + cat $HOME/.m2/settings.xml | base64 + echo "---------See github token ========================" + echo $GITHUB_TOKEN mvn clean deploy -X -s $HOME/.m2/settings.xml cd ..;;