firebase only hosting code example
Example 1: firebase only hosting command
firebase deploy --only hosting
Example 2: firebase deploy
firebase deploy --project [project-name]
firebase deploy --only hosting
firebase deploy --project [project-name]