Skip to content

A template for Firebase Cloud Functions + Next.js (React.js) + Tailwind CSS + Github Actions

License

Notifications You must be signed in to change notification settings

ryanhanwu/next-firebase-actions

Repository files navigation

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

About

A template for Firebase Cloud Functions + Next.js (React.js) + Tailwind CSS + Github Actions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published