firebase function on deploy code example
Example 1: deploy functions firebase
$ firebase deploy --only functions
Example 2: firebase deploy
firebase deploy --project [project-name]
$ firebase deploy --only functions
firebase deploy --project [project-name]