diff --git a/.travis.yml b/.travis.yml index 8ebf98bfb..7294016ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,10 +27,7 @@ jobs: all_branches: true condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH skip_cleanup: true - script: - - git config --global user.email $(git log --pretty=format:"%ae" -n1) - - git config --global user.name $(git log --pretty=format:"%an" -n1) - - npm run --silent deploy -- -x -r $GH_PAGES_REPO + script: git config --global user.email $(git log --pretty=format:"%ae" -n1) && git config --global user.name $(git log --pretty=format:"%an" -n1) && npm run --silent deploy -- -x -r $GH_PAGES_REPO - provider: npm "on": all_branches: true