How to deploy one function to Firebase

firebase deploy --only functions:functionName

Solution source