firebase deploy command code example
Example 1: deploy functions firebase
$ firebase deploy --only functions
Example 2: firebase cli windows
npm install -g firebase-tools
Example 3: firebase deploy only function
firebase deploy --only functions:functionNameHere
Example 4: firebase deploy command
firebase deploy
firebase deploy --only hosting
firebase deploy -m "Add message here eg: Adding latest feature"
Example 5: firebase deploy
=> firebase login
=> firebase init
=> select Hosting: Configure and deploy ... (press space for select)
=> Use an existing project
=> What do you want to use as your public directory? build
=> Configure as a single-page app? Yes
-----------------------NOW RUN-----------------------
=> npm run build
=> firebase deploy
!!!!! Congrats you just deploy your app !!!!!
Example 6: firebase tools install
installing firebase tools