mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-01 05:31:34 +00:00
guide: Build and deploy the guide in Travis CI
This commit is contained in:
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)
|
(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:
|
install:
|
||||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||||
|
Reference in New Issue
Block a user