Multiple projects via .firebaserc
See original GitHub issueThe docs state:
The project to deploy to. If you leave this blank, be sure to check in a
.firebaserc
file so the CLI knows what project to deploy to.
How does the GitHub Action know which project alias to target? Does the projectId
field support lookup from .firebaserc
via alias name?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Deploy Hosting Site to Multiple Firebase Projects - codeburst
By completing the above task successfully you will have two files called .firebaserc , firebase.json These two files handle all of the ...
Read more >Share project resources across multiple sites | Firebase Hosting
By setting up multiple Hosting sites within the same Firebase project, you can more easily share Firebase resources between related sites and apps....
Read more >deploy same app to multiple Firebase-projects - Stack Overflow
I tried to find some more information about this command, but still don´t know what to put for resources. Overall I feel like...
Read more >How to Manage Multiple project using firebase hosting…
And for your app you can add multiple firebase app into same project to ... find the .firebaserc in your root it will...
Read more >Deploy to multiple environments with Firebase Hosting
The use command allows you to add another project. $ firebase use --add. This command prompts you to choose from one of your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The
projectId
field does support aliases in.firebaserc
, since under the hood this action just runsfirebase hosting:channel:deploy --project=<projectId>
, and that command allows either a project id or an alias to be used with the--project
flag.Deploy targets are intended to support multiple Hosting sites in the same project, not multiple projects. For instance, if you have a blog and a PWA each might have its own site and target.