Skip to content

Commit

Permalink
Update apps-deployment-script.sh
Browse files Browse the repository at this point in the history
sgknoldus authored Jan 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent deabdd0 commit 8eaaf33
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apps-deployment-script.sh
Original file line number Diff line number Diff line change
@@ -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 ..;;

0 comments on commit 8eaaf33

Please sign in to comment.