mirror of
https://github.com/corda/corda.git
synced 2025-01-19 03:06:36 +00:00
Merge pull request #222 from elementalvoid/protect-gh-pages-token
Squash stdout/stderr in gh-pages push
This commit is contained in:
commit
23d1d7b07a
@ -23,7 +23,9 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
cp -Rf ../javadoc ./javadoc
|
||||
git add -f .
|
||||
git commit -m "Lastest javadoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages"
|
||||
git push -fq origin gh-pages > /dev/null
|
||||
|
||||
echo "Done magic with auto publishment to gh-pages."
|
||||
if ! git push -fq origin gh-pages &> /dev/null; then
|
||||
echo "Error pushing gh-pages to origin. Bad GH_TOKEN? GitHub down?"
|
||||
else
|
||||
echo "Done magic with auto publishment to gh-pages."
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user