Daniel The Bruce
Daniel The Bruce

Reputation: 3

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.

Upvotes: 0

Views: 350

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 600006

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.

Upvotes: 1

Related Questions