Deploying a Gatsby site

I thought I’d play around with Gatsby a bit and create a guide. The guide is in process but here is the skinny:

In this example, I’m deploying the Gatsby Starter Blog at https://github.com/gatsbyjs/gatsby-starter-blog.

Steps

  1. Add the gatsby CLI to your server by creating a new Quick Script and then use the following script: npm install -g gatsby-cli
  2. Add a new NodeJS Static site on your server
  3. Head over to the web app section to configure the web app
  4. Select a GitHub VC profile in web app > code repository
  5. Add in gatsbyjs/gatsby-starter-blog for the repository and master for the branch to deploy
  6. In the Build settings tab, add gatsby build for the Build Command and public for Artifacts Path
  7. Deploy!

Here is the guide - https://docs.cleavr.io/guides/gatsby