Skip to content

Commit 9243f32

Browse files
Add deployment to GH Pages from travis on master
1 parent 3066648 commit 9243f32

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,17 @@ matrix:
3737
script:
3838
- cargo clippy --all --all-targets --all-features -- -D warnings
3939
- sudo env "PATH=$PATH" cargo test
40-
- cargo doc --workspace --quiet --all-features --no-deps --target-dir=target/html/code
40+
- cargo doc --workspace --quiet --all-features --no-deps --target-dir=target
41+
42+
deploy:
43+
provider: pages
44+
skip-cleanup: true
45+
github-token: $GITHUB_PAGES_TOKEN
46+
local-dir: target/doc/libproc/
47+
keep-history: false
48+
verbose: true
49+
on:
50+
branch: master
4151

4252
after_success:
4353
- |

0 commit comments

Comments
 (0)