From dc092700cb8c9a036d1088f4148bf12e772e288a Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Tue, 16 Jan 2018 19:57:01 +0100 Subject: [PATCH] only deploy documentation on master branch --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 985aabdcbb..1f2178e9da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,9 @@ matrix: - git config --global user.name "Daniel Schmidt" - echo "machine github.com login $GIT_USER password $GIT_TOKEN" > ~/.netrc - cd website && npm install && GIT_USER=$GIT_USER CURRENT_BRANCH=docusaurus npm run publish-gh-pages + branches: + only: + - master branches: only: