Search code examples
reactjsfirebasefirebase-hosting

Firebase hosting versions


I have a react JS web app hosted on firebase.

I would like to know how to deploy different versions of the web app.

Example myapp.com/1.0.0 and then another version myapp.com/ -> being the main version


Solution

  • Firebase Hosting represents your public directory exactly as-is. If you want to deploy different "versions" of your app to the same Firebase Hosting site, you'll need to have some kind of process that can put all of the versions you want to deploy into a directory structure and deploy the whole thing.