'Is there a way to add a new site to my Firebase project without using the Console?
Is there a way for me to add/create a new site in my Firebase project in the same way I deploy new projects using the CLI.
Solution 1:[1]
The Firebase CLI has a firebase hosting:sites:create
command that looks promising. It looks like that wraps the corresponding /projects.sites/create
REST API.
What doesn't seem possible at the moment (according to the answers to this question) is to add a custom domain through the CLI or REST API. That is currently only possible through the Firebase console.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Frank van Puffelen |