firebase deploy hosting only code example
Example 1: firebase deploy hosting only command
// Deploy everything
firebase deploy
// Deploy hosting only
firebase deploy --only hosting
// Add a deploy message (similar to a git commit message)
firebase deploy -m "Add message here eg: Adding latest feature"
Example 2: firebase cli windows
npm install -g firebase-tools
Example 3: firebase deploy hosting test
firebase hosting:channel:deploy CHANNEL_ID