From b193cbf0912a9ac3cbad13a4e82a0db0020fb10a Mon Sep 17 00:00:00 2001 From: benaryorg Date: Tue, 9 Aug 2016 05:54:18 +0200 Subject: [PATCH] only deploy docs when tagged (fix #18) Signed-off-by: benaryorg --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85d9f2d10..622ebf310 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,11 @@ script: travis-cargo build && travis-cargo test && travis-cargo --only nightly doc -after_success: -- travis-cargo --only nightly doc-upload +deploy: + provider: script + script: travis-cargo --only nightly doc-upload + on: + tags: true env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE=""