File tree 2 files changed +20
-50
lines changed
2 files changed +20
-50
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
- after_success :
20
- - ./deploy.sh
25
+ deploy :
26
+ - provider : pages
27
+ name : " Rust API Guidelines"
28
+
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