- 1
Install the tools
With Node.js installed, run npm install -g firebase-tools, then firebase login.
- 2
Set up hosting
Inside the template folder, run firebase init hosting. Choose your project, type . as the public directory, and answer No to single-page app and to overwriting index.html.
- 3
Deploy
Run firebase deploy. You're live on a web.app address.
- 4
Add your domain
Firebase console → Hosting → Add custom domain, then add the records it gives you at your registrar.
Good to know
- Deploying again later is just firebase deploy from the same folder.
- Helix: Helix runs on Firebase App Hosting, which builds Next.js apps straight from GitHub.