mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
23 lines
374 B
YAML
23 lines
374 B
YAML
sudo: false
|
|
dist: trusty
|
|
language: rust
|
|
cache: cargo
|
|
rust:
|
|
- 1.37.0
|
|
branches:
|
|
only:
|
|
- master
|
|
before_script:
|
|
- (cargo install mdbook --vers 0.2.3 --force || true)
|
|
script:
|
|
- mdbook build
|
|
- echo 'nojekyll' > book/.nojekyll
|
|
deploy:
|
|
provider: pages
|
|
local-dir: book
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
keep-history: false
|
|
on:
|
|
branch: master
|