This is a source code for a guide on how to deploy Gatsby.js website to Firebase Hosting published at https://ryndia.me/deploy-gatsby-js-website-to-firebase-hosting.
This repository includes:
- Unmodified official Gatsby.js starter template https://github.com/gatsbyjs/gatsby-starter-default
- My firebase project config
- GitHub Action workflows to build and deploy website to Firebase Hosting to
- live channel (on
push
ormerge
tomain
branch), or to - preview channel (on PR to
main
branch).
- live channel (on
Remember to update workflow files in /.github/workflows with your variables.
Looking for more guidance? Full documentation for Gatsby lives on the website.
Full documentation for Firebase you can find on their website