Skip to content

Commit 3642428

Browse files
fix(travis): firebase deploy process by travis
1 parent adf4278 commit 3642428

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,19 @@ cache:
88
- "~/.npm"
99
notifications:
1010
email: false
11-
before_install:
12-
- npm i -g firebase-tools
1311
install:
12+
- npm i -g firebase-tools
1413
- npm install
15-
- npm install semantic-release @semantic-release/git @semantic-release/changelog --no-save
1614
script:
1715
- npm run test
1816
- npm run build
19-
after_success:
20-
- npm run travis-deploy-once "npm run semantic-release"
21-
# - firebase deploy --only functions --token "${FIREBASE_TOKEN}"
2217
before_deploy:
2318
- npm install --prefix ./functions
2419
deploy:
2520
provider: firebase
2621
skip_cleanup: true
2722
on:
2823
branch: master
24+
after_deploy:
25+
- npm install semantic-release @semantic-release/git @semantic-release/changelog --no-save
26+
- npm run travis-deploy-once "npm run semantic-release"

0 commit comments

Comments
 (0)