File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 11language : rust
22
3+ git :
4+ depth : 1
5+ quiet : true
6+
37cache : cargo
48
59env :
812
913before_install :
1014 # Normal install of cargo-update
11- - if [[ ! -f ~/.cargo/bin/cargo-install-update ]]; then cargo install cargo-update; fi
15+ - if [ ! -f ~/.cargo/bin/cargo-install-update ]; then
16+ cargo install cargo-update;
17+ fi
1218 # Conditional install/update of mdbook
1319 - cargo install-update -i mdbook
14- - export PATH=$HOME/.cargo/bin:$PATH
20+ - export PATH=" $HOME/.cargo/bin:$PATH"
1521
1622script :
1723 - mdbook build
1824
1925after_success :
2026 - ./deploy.sh
27+ deploy :
28+ - provider : pages
29+ name : " Rust API Guidelines"
30+ email : " guidelines@rust-lang.org"
31+ skip-cleanup : true
32+ local-dir : book
33+ github-token : $GH_TOKEN
34+ keep-history : false
35+ on :
36+ branch : master
37+ verbose : true
You can’t perform that action at this time.
0 commit comments