Skip to content

Commit

Permalink
use firebase node package to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Sep 18, 2019
1 parent 280615e commit 75e2741
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
language: node_js

node_js:
- "node"

branches:
only:
- master

before_script:
- npm install -g firebase-tools
- npm install
- npm run build

script:
- echo "skipping tests"
deploy:
provider: firebase
token:
secure: $FIREBASE_CI_TOKEN
- npm run build

after_success:
- firebase deploy --token $FIREBASE_CI_TOKEN

0 comments on commit 75e2741

Please sign in to comment.