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