language: rust
sudo: false
git:
quiet: true
rust:
- stable
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
- cargo install-update -a
script:
# Just build that book
- cd book && mdbook build
deploy:
provider: pages
local-dir: target/book-output
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: false
name: DocsBot
verbose: true
on:
branch: master