Search code examples
reactjsfirebasefirebase-hosting

How to Re Deploy app after making certain changes on firebase


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:

  1. Firebase login
  2. firebase init (follow the procedure and create build)
  3. npm run build
  4. firebase deploy

Solution

  • Simply run firebase deploy again from the same folder where you ran fireabse init.