firebase deploy only functions multiple code example
Example 1: deploy functions firebase
$ firebase deploy --only functions
Example 2: firebase deploy only function
firebase deploy --only functions:functionNameHere
$ firebase deploy --only functions
firebase deploy --only functions:functionNameHere