how to create firebase function and deploy code example Example: deploy functions firebase $ firebase deploy --only functions