Try using ghp to import docs

This commit is contained in:
Pierre Krieger 2016-04-30 11:37:24 +02:00
parent 018b7b483d
commit 117d837918

View File

@ -31,7 +31,7 @@ after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo install ghp &&
cargo doc --manifest-path vulkano/Cargo.toml &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp_import.py vulkano/target/doc &&
ghp target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages