mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 16:25:31 +00:00
Fix travis docs generation
This commit is contained in:
parent
aac5821202
commit
933a02fabd
@ -26,10 +26,10 @@ after_success:
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
cargo doc &&
|
||||
cargo doc --manifest-path vulkano/Cargo.toml &&
|
||||
npm install gitbook-cli -g &&
|
||||
gitbook build ./book &&
|
||||
mv ./book/_book ./target/doc/book &&
|
||||
mv ./book/_book ./vulkano/target/doc/book &&
|
||||
git clone https://github.com/davisp/ghp-import &&
|
||||
./ghp-import/ghp-import target/doc &&
|
||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||
|
Loading…
Reference in New Issue
Block a user