npm install -g firebase-tools
firebase login
firebase init hosting
Are you ready to process (Y/n) = Y
Use an exsiting project
select project
What do you want to use your public directory? (public) Bulid
Configure as a single-page app (rewrite all urls to /index.html)? (y/N) y
Set up automatic builds and deploys with GitHub? (y/N) y
npm run build
firebase deploy