mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
Limit to develop branch
This commit is contained in:
parent
828279db6a
commit
4001a24bf5
1 changed files with 5 additions and 4 deletions
|
@ -21,17 +21,18 @@ deploy:
|
|||
- provider: script
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $TRAVIS_BRANCH != master
|
||||
condition: $TRAVIS_BRANCH != develop
|
||||
skip_cleanup: true
|
||||
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
|
||||
- provider: script
|
||||
on:
|
||||
branch: master
|
||||
branch: develop
|
||||
skip_cleanup: true
|
||||
script: npm run --silent deploy -- -x -a -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
|
||||
- provider: npm
|
||||
on:
|
||||
branch: develop
|
||||
skip_cleanup: true
|
||||
email: $NPM_EMAIL
|
||||
api_key: $NPM_TOKEN
|
||||
on:
|
||||
all_branches: true
|
||||
|
Loading…
Reference in a new issue