Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- language: node_js
- node_js:
- - "6.11"
- branches:
- only:
- - master # auto build and deploy in only master branch
- install:
- - npm install -g firebase-tools # install firebase-cli
- - yarn
- script:
- - yarn lint
- - yarn build
- after_success:
- - firebase use --token ${FIREBASE_TOKEN} # set firebase token
- - firebase use --add ${PROJECT_ID} # set current project
- - firebase deploy --non-interactive --token "${FIREBASE_TOKEN}" # deploy project
Add Comment
Please, Sign In to add comment