ci: Try and fix book deployment in CI

This commit is contained in:
Nick Fitzgerald 2018-06-19 13:40:39 -07:00
parent a1ea1d297e
commit ce5dd5931d

View File

@ -11,7 +11,7 @@ matrix:
# Tests pass on nightly # Tests pass on nightly
- rust: nightly - rust: nightly
before_install: rustup target add wasm32-unknown-unknown before_install: rustup target add wasm32-unknown-unknown
script: script:
- cargo test - cargo test
# Check JS output from all tests against eslint # Check JS output from all tests against eslint
- ./node_modules/.bin/eslint ./target/generated-tests/*/out*.js - ./node_modules/.bin/eslint ./target/generated-tests/*/out*.js
@ -69,6 +69,7 @@ matrix:
# Build the guide. # Build the guide.
- rust: stable - rust: stable
env: DEPLOY=0
script: (cd guide && cargo install mdbook --vers "^0.1.0" && mdbook build) script: (cd guide && cargo install mdbook --vers "^0.1.0" && mdbook build)
deploy: deploy:
provider: pages provider: pages