mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-31 06:21:16 -07:00
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:
parent
da76d6b180
commit
16a9e67db0
7 changed files with 2465 additions and 22001 deletions
|
@ -6,16 +6,4 @@ exports.onCreateWebpackConfig = ({ stage, loaders, actions }) => {
|
|||
actions.setWebpackConfig({
|
||||
devtool: 'eval-source-map',
|
||||
});
|
||||
if (stage === "build-html" || stage === "develop-html") {
|
||||
actions.setWebpackConfig({
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /@trussworks\/react-uswds/,
|
||||
use: loaders.null(),
|
||||
},
|
||||
],
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue