mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-09 00:43:59 +08:00
23 lines
368 B
YAML
23 lines
368 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:
|
|
edge:
|
|
branch: v1.8.47
|
|
provider: pages
|
|
local-dir: mdbook
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
keep-history: false
|
|
on:
|
|
branch: master |