Skip to content

Commit 97d1703

Browse files
fix(travis): only deploy on master branch
1 parent fcd1b92 commit 97d1703

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.travis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ script:
1818
- npm run build
1919
after_success:
2020
- npm run travis-deploy-once "npm run semantic-release"
21+
# - npm install --prefix ./functions
22+
# - firebase deploy --only functions --token "${FIREBASE_TOKEN}"
2123
deploy:
22-
- provider: script
23-
skip_cleanup: true
24-
script:
25-
- npm install --prefix ./functions
26-
- firebase deploy --only functions --token "${FIREBASE_TOKEN}"
27-
on:
28-
branch: master
24+
provider: firebase
25+
on:
26+
branch: master

0 commit comments

Comments
 (0)