Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit f4837ee

Browse files
authored
Merge pull request #30 from benaryorg/master
only deploy docs when tagged (fix #18)
2 parents 8854a15 + b193cbf commit f4837ee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ script:
1919
travis-cargo build &&
2020
travis-cargo test &&
2121
travis-cargo --only nightly doc
22-
after_success:
23-
- travis-cargo --only nightly doc-upload
22+
deploy:
23+
provider: script
24+
script: travis-cargo --only nightly doc-upload
25+
on:
26+
tags: true
2427
env:
2528
global:
2629
- TRAVIS_CARGO_NIGHTLY_FEATURE=""

0 commit comments

Comments
 (0)