From 0e11ff1c236ff56e1e129f5d22efecfe9e3c7eee Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Wed, 19 Jul 2017 10:28:54 -0400 Subject: [PATCH] Fix provider 'on' key being converted to 'true' --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fab21efd1..8ebf98bfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ jobs: before_deploy: npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s) deploy: - provider: script - on: + "on": all_branches: true condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH skip_cleanup: true @@ -32,7 +32,7 @@ jobs: - git config --global user.name $(git log --pretty=format:"%an" -n1) - npm run --silent deploy -- -x -r $GH_PAGES_REPO - provider: npm - on: + "on": all_branches: true condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH api_key: $NPM_TOKEN