Static Deploy to Github Pages (#73)

Addresses #58 , "As a member of the public, I want to see J40's website live on the internet, so that I know it's real!" - hosting on github pages for now as a temporary measure. This fix does NOT: 1) add .gov domain hosting, or 2) post to the geoplatform s3 bucket. This will need to happen in a subsequent fix. 

The changes made specifically to enable this for now:
* Adding github action to build, test, and deploy on pushes to client/
* Adding path prefix to build gh-pages at https://usds.github.io/justice40-tool/
* (Temporarily) pointing to fix branch for trussworks to enable SSR building
* Removing the workaround for the above bug in gatsby-node.js
* Setting build target to be 14.x due to version number limitations
* Adding gh-pages dependency, deploy action for manual deploy
* Force renaming J40header -> J40Header and J40footer -> J40Footer due to Linux case sensitivity
This commit is contained in:
Nat Hillard 2021-05-25 12:07:45 -04:00 committed by GitHub
commit 16a9e67db0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 2465 additions and 22001 deletions

View file

@ -12,6 +12,7 @@ module.exports = {
siteMetadata: {
title: "Justice40",
},
pathPrefix: "/justice40-tool",
plugins: [
{
resolve: 'gatsby-plugin-sass',