1
1
mirror of https://github.com/primer/css.git synced 2025-01-04 12:22:17 +03:00

Running script

This commit is contained in:
Jon Rohan 2017-07-07 14:30:54 -07:00
parent 95aac5b11b
commit b8d7aebcc2

View File

@ -33,7 +33,8 @@ env:
script: cd modules/$MODULE && npm install && npm test
deploy:
provider: script
script: cd $TRAVIS_BUILD_DIR && npm install && lerna publish --canary=commit --cd-version=patch
skip_cleanup: true
script: cd $TRAVIS_BUILD_DIR && script/dev-deploy
on:
all_branches: true
condition: "$DEPLOY = true && $TRAVIS_PULL_REQUEST_BRANCH != master && $TRAVIS_PULL_REQUEST_BRANCH != dev"
condition: "$DEPLOY = true"