Convert multi-entry script to single scalar

Multi-entries aren't supported
https://docs.travis-ci.com/user/deployment/script
This commit is contained in:
Ray Schamp 2017-07-19 11:54:51 -04:00
parent 0e11ff1c23
commit 55d0b2650c

View file

@ -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