mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 09:40:52 +00:00
Build documentation for master branch on gh-pages
Don't link it from the book as the book likely wants to use published crates.io versions, but it should be available to browse if need be
This commit is contained in:
parent
92dd8e859f
commit
128dad300c
@ -114,8 +114,8 @@ matrix:
|
||||
env: JOB=check-nightly-cli
|
||||
script: cargo check --manifest-path crates/cli/Cargo.toml
|
||||
|
||||
# Build the guide.
|
||||
- rust: stable
|
||||
# Build documentation for the gh-pages branch
|
||||
- rust: nightly
|
||||
env: JOB=guide-build-and-deploy
|
||||
cache:
|
||||
- cargo
|
||||
@ -125,6 +125,9 @@ matrix:
|
||||
- cargo install-update -a
|
||||
script:
|
||||
- (cd guide && mdbook build)
|
||||
- cargo doc -p wasm-bindgen --no-deps
|
||||
- cargo doc -p web-sys --no-deps
|
||||
- mv target/doc guide/book/api
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user