From 21a6e8b4eff252654a9a8f59edb837a87edd5e7c Mon Sep 17 00:00:00 2001 From: Andrii Zhegurov Date: Sat, 10 Oct 2020 11:41:57 +0300 Subject: [PATCH] docs conditions --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 95bc520..8a1cfaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ mono: latest dotnet: 3.1 script: - ./build.sh - - if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false || $TRAVIS_TAG != "") ]]; then ./build.sh -t Docs; fi + - if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false && TRAVIS_BRANCH = master || $TRAVIS_TAG != "") ]]; then ./build.sh -t Docs; fi deploy: - provider: pages skip_cleanup: true