chore(travis): pipe git commands to dev null

This commit is contained in:
Sean McArthur
2016-11-19 14:55:09 -08:00
parent bca63e54b9
commit 0b02e61791
2 changed files with 7 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ done
cp --parent ./doc/**/*.html ./target
cp ./doc/guide.css ./target/doc/guide/guide.css
git clone --branch gh-pages "https://$TOKEN@github.com/${TRAVIS_REPO_SLUG}.git" deploy_docs
git clone --branch gh-pages "https://$TOKEN@github.com/${TRAVIS_REPO_SLUG}.git" deploy_docs > /dev/null 2>&1
cd deploy_docs
git config user.name "Sean McArthur"
@@ -38,4 +38,8 @@ fi
git add -A .
git commit -m "rebuild pages at ${TRAVIS_COMMIT}"
git push --quiet origin gh-pages
git push --quiet origin gh-pages > /dev/null 2>&1
echo
echo "Docs published."
echo