Skip to content

Commit

Permalink
chore(travis): pipe git commands to dev null
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Nov 19, 2016
1 parent bca63e5 commit 0b02e61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 6 additions & 2 deletions .travis/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit 0b02e61

Please sign in to comment.