Reputation: 111
I have deployed my Reactjs
Application with firebase but After making certain changes to my code, I want to redeploy that app. How can I redeploy the app after making changes to my code?
I follow these steps to deploy:
Upvotes: 2
Views: 4392
Reputation: 46
on the root of your project first, you have to run npm run build
then firebase deploy
Upvotes: 1
Reputation: 286
First of all, you have to build the new changes.
npm run build
Then Firebase deploy
to deploy the app
You should run these two commands inside your project folder where you ran firebase init
.
Upvotes: 3
Reputation: 317497
Simply run firebase deploy
again from the same folder where you ran fireabse init
.
Upvotes: 7