7

I need to programmatically create a staging site with firebase for CI/CD. I can get multiple hosting sites to work as described here in the docs: https://firebase.google.com/docs/hosting/multisites

However this process requires me to go to the firebase web app and use the GUI to create a new hosting-site.

e.g. running:

firebase deploy --only hosting:<target>

will result in

"Error: HTTP Error: 404, Requested entity was not found."

without manually adding the configured ".firebaserc chosen resource-name" in the web app.

How can I programmatically create a hosting site without the firebase web app involved?

Jonathan002
  • 9,639
  • 8
  • 37
  • 58

0 Answers0