mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 21:11:31 +08:00
23 lines
375 B
YAML
23 lines
375 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
|
|
- echo 'nojekyll' > book/.nojekyll
|
|
deploy:
|
|
provider: pages
|
|
local-dir: book
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
keep-history: false
|
|
on:
|
|
branch: master
|