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

Commit

Permalink
Merge pull request #44 from TheThingsNetwork/cambierr-patch-1
Browse files Browse the repository at this point in the history
updated run.sh to get more info about why github push fails
  • Loading branch information
cambierr authored Feb 13, 2017
2 parents b58cf29 + 0f72760 commit 1ea6d0b
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 1ea6d0b

Please sign in to comment.