Revert "Add deploy setup for gh-pages"
This reverts commit fb8855bffe35f809b0ca8c4ed0bf70a5423d69e9.
This commit is contained in:
parent
3715c5d33b
commit
c4a247f3e6
1 changed files with 2 additions and 9 deletions
11
.travis.yml
11
.travis.yml
|
@ -68,15 +68,8 @@ addons:
|
|||
- libcurl4-openssl-dev
|
||||
- libelf-dev
|
||||
- libdw-dev
|
||||
after_success: |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
cd .imag-documentation &&
|
||||
cargo doc &&
|
||||
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2 | sed 's/-/_/'`/index.html>" > target/doc/index.html &&
|
||||
sudo pip install ghp-import &&
|
||||
ghp-import -n target/doc &&
|
||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||
after_success:
|
||||
- travis-cargo --only stable doc-upload
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
|
Loading…
Reference in a new issue