Fix provider 'on' key being converted to 'true'

This commit is contained in:
Ray Schamp 2017-07-19 10:28:54 -04:00
parent 01ed85facf
commit 0e11ff1c23

View file

@ -23,7 +23,7 @@ jobs:
before_deploy: npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s) before_deploy: npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
deploy: deploy:
- provider: script - provider: script
on: "on":
all_branches: true all_branches: true
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
skip_cleanup: true skip_cleanup: true
@ -32,7 +32,7 @@ jobs:
- git config --global user.name $(git log --pretty=format:"%an" -n1) - git config --global user.name $(git log --pretty=format:"%an" -n1)
- npm run --silent deploy -- -x -r $GH_PAGES_REPO - npm run --silent deploy -- -x -r $GH_PAGES_REPO
- provider: npm - provider: npm
on: "on":
all_branches: true all_branches: true
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
api_key: $NPM_TOKEN api_key: $NPM_TOKEN