firebase deploy one function code example
Example 1: deploy functions firebase
$ firebase deploy --only functions
Example 2: firebase deploy only specific functions
firebase deploy --only functions:function1Name,functions:function2Name
$ firebase deploy --only functions
firebase deploy --only functions:function1Name,functions:function2Name