mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
guide: Build and deploy the guide in Travis CI
This commit is contained in:
parent
1d9a7dfdee
commit
feec53a73b
13
.travis.yml
13
.travis.yml
@ -67,6 +67,19 @@ matrix:
|
||||
- |
|
||||
(cd examples/comments && sed -i 's/: "webpack-dev-server"/: "webpack"/' package.json && ./build.sh)
|
||||
|
||||
# Build the guide.
|
||||
- rust: stable
|
||||
script: (cd guide && cargo install mdbook --vers "^0.1.0" && mdbook build)
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
local-dir: guide
|
||||
keep-history: false
|
||||
on:
|
||||
branch: master
|
||||
|
||||
|
||||
|
||||
install:
|
||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user