Skip to content

Commit 7cb742b

Browse files
fix(travis): only deploy on master branch
1 parent 5821e3c commit 7cb742b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ after_success:
2020
- npm run travis-deploy-once "npm run semantic-release"
2121
# - npm install --prefix ./functions
2222
# - firebase deploy --only functions --token "${FIREBASE_TOKEN}"
23+
before_deploy:
24+
- npm install --prefix ./functions
2325
deploy:
2426
provider: firebase
2527
on:

0 commit comments

Comments
 (0)