Skip to content

getshifter/pickup-philly

Repository files navigation

Pickup Philly

A one day build to support the local business community affected by the COVID-19 outbreak. It's a business directory built on the JAMstack.

Micro-blog about the project

https://twitter.com/emaildano/status/1248638563769614338?s=20

Helpful Links

Blog Post

https://www.getshifter.io/build-and-deploy-gatsby-sites-using-wordpress-shifter-netlify-and-github-actions/

Gatsby Starter Template

https://github.com/getshifter/shifter-gatsby-github-actions-starter

Gatsby Build on Netlify

https://shifter-gatsby-github-actions.netlify.com/

Static WordPress site on Shifter

https://cranky-hypatia2216.on.getshifter.io/

Shifter GitHub Actions

This Repo Explained

This repo is an example Gatsby site. You can use it as a starter or pull just what you need. It's based on Jason Bahl's WPGraphQL starter.

The WordPress source site is hosted on Shifter. Shifter is a static site generator for WordPress and the backend starts and stops as needed. In this case we are using it to host the content for Gatsby because we only need WordPress to start during builds and stop after they are complete. Starting and stopping WordPress reduces the number of attack vectors and Shifter can also create a static site from your existing WordPress theme. Sourcing static assets for Gatsby can be done by using the static site Shifter creates if you are not downloading files during your Gatsby build.

Inside .github/workflows/main.yml, located in this project you'll find the config file for GitHub Actions. These actions cover the Gatsby build process on each push to master.

The static site created by Gatsby is hosted on Netlify. After the build is creating using GitHub Actions, those files are deployed to Netlify.

About

A business directory built on the Jamstack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published