Skip to content

Commit

Permalink
Update apps-deployment-script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
abidknashtech authored Jan 25, 2024
1 parent 57efea4 commit e8b99b9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions apps-deployment-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,18 @@ do
cd common || exit
mvn -B package --file pom.xml
#mvn deploy -X -s $GITHUB_WORKSPACE/settings.xml

echo "---------See github token ========================"
#echo $GITHUB_TOKEN | base64
#echo "Token:" ${{ secrets.GITHUB_TOKEN }} | base64
echo "----------$GITHUB_WORKSPACE/settings.xml ======================="
cat $GITHUB_WORKSPACE/settings.xml | base64
#echo "----------$GITHUB_WORKSPACE/settings.xml ======================="
#cat $GITHUB_WORKSPACE/settings.xml | base64
#echo "----------testing#################################################------------------------"
#echo "---------$HOME/.m2/settings.xml ========================"
echo "---------$HOME/.m2/settings.xml ========================"
#cat $HOME/.m2/settings.xml | base64

echo $GITHUB_TOKEN
mvn clean deploy -X -s $GITHUB_WORKSPACE/settings.xml
#echo $GITHUB_TOKEN
mvn clean deploy -X -s $HOME/.m2/settings.xml
cd ..;;

# case 2 build and deploy order-service
Expand Down

0 comments on commit e8b99b9

Please sign in to comment.