Firebase differentiates between deploying to hosting or cloud functions by looking at the contents of the project's firebase.json
file.
If the firebase.json
file has a "hosting"
property defined, then running the command firebase deploy
will deploy the project to Firebase Hosting.
If the firebase.json
file has a "functions"
property defined, then running the command firebase deploy
will deploy the project's Cloud Functions.
If the firebase.json
file has both a "hosting"
and "functions"
property defined, then running the command firebase deploy
without any additional parameters will deploy both Firebase Hosting and Cloud Functions.
However, if the firebase.json
file only has a "database"
property defined, running the command firebase deploy
will not do anything as it does not have anything to deploy.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-08-27 11:00:00 +0000
Seen: 9 times
Last updated: Oct 31 '22
What does the 403 error signify when attempting to deploy Drupal 10 on Azure's app service?
Is it possible to place a container onto a particular node within a docker swarm?
Why am I unable to deploy my Cloud Run application after migrating to Secret Manager?
How can I install Beegfs on Ubuntu 22.04?
How can a .zip file from GitHub be loaded into Google Colab?
What is the process of using the Multmerge() function in r to combine files in a directory?
In Mac, what is the method to increase the privileges of an executable through setuid?