DEV Community

Continuous Deployment with Gatsby Cloud and Firebase

Laurie on February 25, 2020

Originally posted on laurieontech.com For a long time, my site has been built locally and deployed via Firebase. It's worked well, but with the re...
Collapse
 
sm0ke profile image
Sm0ke

Thanks for your time in writing this article.
I'm using Gatbsy for a blog already, mostly for the SEO score and the speed.

Regarding the deployment, since Gatsby produces flat, lifeless HTML files for low budget blogs and simple landing pages, it might be a good solution to use a simple local build with and an FTP upload using ftp-deploy Node.js module.

Collapse
 
laurieontech profile image
Laurie

Gatsby can be used that way, but a majority of Gatsby sites are applications making use of React and hydration! You can check out the docs for more info.

Collapse
 
sm0ke profile image
Sm0ke

In this case, the remote/cloud build enhances in some way the final product?
Basically the build, local or remote is the same thing.

Heroku has a similar build workflow (and maybe other platforms) triggered from the REPO commits, super useful for Python apps that require a basic setup (modules compilation, provisioning).

Anyway, Gatsby is something that I plan to use for a long time, for sure.
One last question, at the end: any plan to open a commercial marketplace to encourage companies to develop more themes and UI Kits?

Thanks for your time!

Thread Thread
 
laurieontech profile image
Laurie

The remote build can be triggered by CMS content updates and it's more performant. So there are great benefits depending on what your use case is.

In terms of commercial marketplace I honestly don't know. But it's a fun idea!

Thread Thread
 
sm0ke profile image
Sm0ke

Keep up the good work!
See u

Collapse
 
calag4n profile image
calag4n

Cool post 👍.
Is there an advantage to do that instead of the GitHub-netlify way? 🤔

Collapse
 
laurieontech profile image
Laurie • Edited

Gatsby cloud is specifically designed to build Gatsby sites at the fastest speeds possible. Adding in Lighthouse audits and preview functionality made it a better choice for me.
I also got to continue using firebase and didn’t have to reset up my DNS.

Collapse
 
calag4n profile image
calag4n

Ok, I'll try it then.

Thanks !

Collapse
 
jamesqquick profile image
James Q Quick

Wow, this is incredible. I love the progress Gatsby is making. Great article Laurie!

Collapse
 
joelvarty profile image
Joel Varty

Excellent article! I love how Gatsby Cloud makes it so simple to recommend Gatsby to folks who might have had trouble setting up their own devops to get builds running and a preview server.