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

@@ -45,7 +45,7 @@ after_success: |
env:
global:
- secure: kHuPGsSt14Y7TTy+4NeNMQ4yhENXm38OM26G0ZER870QVOQH8cBZk9a9jgA36F8CGkGAMkFJ5lQw5RginQX01zaCev765XqCF8VvToXq9n/Vg8+oxR5LepC1ybY06yd7AuW/znB6cnQ8BB8HJK5FvZJ1PqH+yubzyyada8c/sVQ=
- secure: bcrNns6QyPdm/2eQtgnjX0PrNgo1GsfMOo8+ReI0jhwGEK5s3lwMvEN3pxgseEEWWzcXbScBy9OsVAHQ34zC5ENOLBlP3Gpc8FTgWoNrzVxNte/2mrnaNb+hLsXS8j8rGtXA0kpe/Z6poqsqoHiGZv6SSnm/vPUr6GSC6uiIO0U=
notifications:
email: false

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