how to deploy react app firebase
npm install -g firebase-tools
firebase login
firebase init
npm run build
firebase deploy
how to deploy react app firebase
npm install -g firebase-tools
firebase login
firebase init
npm run build
firebase deploy
deploy to firebase using trivis
// get token in terminal
$ firebase login:ci
$ // token here
// add token to travis settings
// create file .travis.yaml
language: node_js
node_js:
- "12"
script:
- npm install
- npm run build
- echo "Deploying!"
install:
- npm install -g firebase-tools
after_success:
- firebase deploy --token $FIREBASE_TOKEN
$ firebase init
$ git push
// done
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us