Guest User

Untitled

a guest
Nov 20th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. language: node_js
  2. node_js:
  3. - "6.11"
  4. branches:
  5. only:
  6. - master # auto build and deploy in only master branch
  7. install:
  8. - npm install -g firebase-tools # install firebase-cli
  9. - yarn
  10.  
  11. script:
  12. - yarn lint
  13. - yarn build
  14. after_success:
  15. - firebase use --token ${FIREBASE_TOKEN} # set firebase token
  16. - firebase use --add ${PROJECT_ID} # set current project
  17. - firebase deploy --non-interactive --token "${FIREBASE_TOKEN}" # deploy project
Add Comment
Please, Sign In to add comment