mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-09 00:43:59 +08:00
22 lines
338 B
YAML
22 lines
338 B
YAML
sudo: false
|
|
dist: trusty
|
|
language: rust
|
|
cache: cargo
|
|
rust:
|
|
- nightly
|
|
branches:
|
|
only:
|
|
- master
|
|
before_script:
|
|
- (cargo install mdbook --vers 0.1.7 --force || true)
|
|
script:
|
|
- mdbook build
|
|
deploy:
|
|
provider: pages
|
|
local-dir: book
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
keep-history: false
|
|
on:
|
|
branch: master
|