File tree Expand file tree Collapse file tree 2 files changed +20
-50
lines changed Expand file tree Collapse file tree 2 files changed +20
-50
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
19- after_success :
20- - ./deploy.sh
25+ deploy :
26+ - provider : pages
27+ name : " Rust API Guidelines"
28+ email : " guidelines@rust-lang.org"
29+ skip-cleanup : true
30+ local-dir : book
31+ github-token : $GH_TOKEN
32+ keep-history : false
33+ on :
34+ branch : master
35+ verbose : true
36+ target_branch : gh_pages_test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments