Fix doc generation again

This commit is contained in:
Pierre Krieger 2016-02-19 17:09:58 +01:00
parent 933a02fabd
commit e30472448e

View File

@ -27,9 +27,6 @@ after_success:
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc --manifest-path vulkano/Cargo.toml &&
npm install gitbook-cli -g &&
gitbook build ./book &&
mv ./book/_book ./vulkano/target/doc/book &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
./ghp-import/ghp-import vulkano/target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages