Skip to content

Commit a6ae948

Browse files
committed
Travis: replace tarvis-cargo with pages upload
1 parent 4103a35 commit a6ae948

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ matrix:
4141
- rm -rf target/doc
4242
- cargo doc --no-deps --all --all-features
4343
- cargo deadlinks --dir target/doc
44-
after_success:
45-
- travis-cargo --only nightly doc-upload
44+
deploy:
45+
local_dir: target/doc
46+
provider: pages
47+
skip_cleanup: true
48+
github_token: $GITHUB_TOKEN
49+
on:
50+
branch: master
4651

4752
# This target catches endianness issues
4853
- rust: stable

0 commit comments

Comments
 (0)