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 1
1
language : rust
2
2
3
+ git :
4
+ depth : 1
5
+ quiet : true
6
+
3
7
cache : cargo
4
8
5
9
env :
8
12
9
13
before_install :
10
14
# 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
12
18
# Conditional install/update of mdbook
13
19
- cargo install-update -i mdbook
14
- - export PATH=$HOME/.cargo/bin:$PATH
20
+ - export PATH=" $HOME/.cargo/bin:$PATH"
15
21
16
22
script :
17
23
- mdbook build
18
24
19
25
after_success :
20
26
- ./deploy.sh
27
+ deploy :
28
+ - provider : pages
29
+ name : " Rust API Guidelines"
30
+
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