Getting started with Firebase Hosting (and GitHub Actions!) – Firebase Fundamentals

In this episode of Firebase Fundamentals, David East will show you how to get started with Firebase Hosting and how to get it started with GitHub Actions so you can generate a preview channel for every single pull request.

Chapters:
0:00 – Intro
0:29 – Firebase CLI setup
2:24 – Serving locally with the Emulator Suite
3:22 – Deploying to Firebase Hosting
3:52 – Configuration files
4:13 – .firebaserc
4:23 – Server redirects in firebase.json
4:47 – Headers in firebase.json (Cross Origin Resource Sharing)
5:09 – Preview channels
5:44 – Manually deploying preview channels
6:33 – Manually deleting preview channels
7:00 – Setting up a GitHub repository
8:22 – Creating GitHub Actions workflows
8:50 – Setting up a build command in GitHub Actions
9:42 – Setting up production deploys on merge
10:11 – Triggering a preview channel on a pull request
11:40 – Deploying to production on merge to main
12:12 – More resources

Resources:
Node.js → https://goo.gle/3NL0vv7
Java → https://goo.gle/3u8xDFd
Next.js → https://goo.gle/3DWwx2N
Firebase CLI → https://goo.gle/3ilEILs
Firebase.json → https://goo.gle/3NRFgb1
HTTP 301 → https://goo.gle/3ub4Gs5
HTTP 302 → https://goo.gle/3x6Odav
Cross Origin Resource Sharing (CORS) → https://goo.gle/3javFxE
Preview channels → https://goo.gle/3Jbi9Vc
GitHub Actions → https://goo.gle/37eZhY6
Setting up preview channels with GitHub Actions → https://goo.gle/3Ja1IIz

Catch more Firebase Fundamentals → https://goo.gle/Firebase-Fundamentals
Subscribe to Firebase → https://goo.gle/Firebase

#FirebaseFundamentals

product: Firebase – Hosting; fullname: David East;

Leave a Reply