Gatsby: Guide to deploying to Netlify

Created on 31 Oct 2017  路  7Comments  路  Source: gatsbyjs/gatsby

Would this be possible to be made?

Most helpful comment

Have you seen this article? Its pretty much the focus of this thread.

All 7 comments

In my experience, deploying to Netlify is pretty straightforward:

  1. Create your repo, in either Github, Bitbucket, or Gitlab
  2. Go to Netlify, create an account, create an app
  3. Give it access to your Git account, choose the repo you want to deploy
  4. Netlify automatically detects that it's a Gatsby project, what with the build command and the publish directory
  5. Tap "deploy site", wait for the install and build to finish and voil脿

An example for a netlify.toml for gatsby would also be nice to see!

I am actually looking into that in more details myself. Have you seen this article @wiesson ?

Thanks for your replies - I got it successfully deployed shortly afterwards 馃槃

I'm just going to keep this open, so you can use this if you want to track making a page in the docs for Netlify deployment etc.

Also, this plugin https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify
which can handle caching, redirects, and a set of other useful netlify specific configuration.

Have you seen this article? Its pretty much the focus of this thread.

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimfilippou picture jimfilippou  路  3Comments

dustinhorton picture dustinhorton  路  3Comments

mikestopcontinues picture mikestopcontinues  路  3Comments

kalinchernev picture kalinchernev  路  3Comments

totsteps picture totsteps  路  3Comments