Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
updated run.sh to get more info about why github push fails
Browse files Browse the repository at this point in the history
  • Loading branch information
cambierr authored Feb 13, 2017
1 parent b58cf29 commit 0f72760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH = "master" ]]; the
&& cp -r ../target/site/apidocs/* ./ \
&& git add . \
&& git commit -m "Deployed to Github Pages" \
&& git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1
&& git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages
exit $?
else
mvn clean package javadoc:aggregate javadoc:jar source:jar-no-fork \
&& cd samples \
&& mvn clean package
exit $?
fi
fi

0 comments on commit 0f72760

Please sign in to comment.