Skip to content

Commit

Permalink
fix(travis): only deploy on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth committed Sep 3, 2018
1 parent 8b9c192 commit fcd1b92
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ script:
- npm run build
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm install --prefix ./functions
- firebase deploy --only functions --token "${FIREBASE_TOKEN}"
deploy:
- provider: script
skip_cleanup: true
script:
- npm install --prefix ./functions
- firebase deploy --only functions --token "${FIREBASE_TOKEN}"
on:
branch: master

0 comments on commit fcd1b92

Please sign in to comment.