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