My personal blog running on Gatsby.
npm install -g gatsby-cli
.cd
into the root directory of the cloned repository and run npm install
to install all site dependencies.gatsby develop
to build and start a local development server.localhost:8000
, with graphql endpoint at localhost:8000/___graphql
gatsby clean; gatsby build; gatsby serve
and view at localhost:9000
Pushing code into this repository triggers two GitHub Actions:
Purge Azure CDN
: which clears the Azure CDN cached content via purgingDeploy Website to Azure Storage Account
: which builds the static site with gatsby build
, and uploads content to an Azure Storage Account - where the site is being hosted.This project is open source and available under the MIT License