chore(travis): pipe git commands to dev null
This commit is contained in:
@@ -45,7 +45,7 @@ after_success: |
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: kHuPGsSt14Y7TTy+4NeNMQ4yhENXm38OM26G0ZER870QVOQH8cBZk9a9jgA36F8CGkGAMkFJ5lQw5RginQX01zaCev765XqCF8VvToXq9n/Vg8+oxR5LepC1ybY06yd7AuW/znB6cnQ8BB8HJK5FvZJ1PqH+yubzyyada8c/sVQ=
|
- secure: bcrNns6QyPdm/2eQtgnjX0PrNgo1GsfMOo8+ReI0jhwGEK5s3lwMvEN3pxgseEEWWzcXbScBy9OsVAHQ34zC5ENOLBlP3Gpc8FTgWoNrzVxNte/2mrnaNb+hLsXS8j8rGtXA0kpe/Z6poqsqoHiGZv6SSnm/vPUr6GSC6uiIO0U=
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ done
|
|||||||
cp --parent ./doc/**/*.html ./target
|
cp --parent ./doc/**/*.html ./target
|
||||||
cp ./doc/guide.css ./target/doc/guide/guide.css
|
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
|
cd deploy_docs
|
||||||
|
|
||||||
git config user.name "Sean McArthur"
|
git config user.name "Sean McArthur"
|
||||||
@@ -38,4 +38,8 @@ fi
|
|||||||
|
|
||||||
git add -A .
|
git add -A .
|
||||||
git commit -m "rebuild pages at ${TRAVIS_COMMIT}"
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user