Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.12 KB

README.md

File metadata and controls

16 lines (10 loc) · 1.12 KB

Next.js + Tailwind CSS + Github Actions + Firebase Cloud Functions + Firebase Hosting

Deploy to Firebase

This is a template to host a Next.js repo on Github and deploy to Firebase Cloud Function and Firebase Hosting via Github Actions. I've create a Medium Post to talk about the details in the template.

Based on the Firebase Hosting priority order, all static content will be served with Firebase CDN, and Firebase Cloud Functions will serve any missed request. Combine with Github Actions, we can now build our own Vercel auto-deploy and test our application for every PR and push to the main branch.

How to use this template?

Hit User this Template button or git clone this repo to your local environment.

Setup steps

  • Edit .firebaserc
  • Edit firebase.json
  • Add FIREBASE_TOKEN to your repo secret