how to deploy a specific firebase function code example
Example 1: firebase deploy only specific functions
firebase deploy --only functions:function1Name,functions:function2Name
Example 2: firebase deploy functions multiple
$ firebase deploy --only functions:function1,functions:function2