firebase deploy only functions name code example
Example: firebase deploy only specific functions
firebase deploy --only functions:function1Name,functions:function2Name
firebase deploy --only functions:function1Name,functions:function2Name