mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 03:55:20 +03:00
ci: Try and fix book deployment in CI
This commit is contained in:
parent
a1ea1d297e
commit
ce5dd5931d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user