I wanted to automatically compile and deploy a Flutter web app to Firebase Hosting as I merged a PR to the main branch on GitHub. Here's how I did it.
First I went over to https://firebase.google.com/docs/hosting/github-integration. It told he I should run firebase init