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