Adding SHA (for PRs)/ Main (for main) to URL (#121)

* Fixes #90 - adds a GHA SHA to PR branches and 'main' for merges to main
This commit is contained in:
Nat Hillard 2021-06-14 10:42:09 -04:00 committed by GitHub
commit 9ea0f946eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View file

@ -2,7 +2,7 @@ module.exports = {
siteMetadata: {
title: 'Justice40',
},
pathPrefix: '/justice40-tool',
pathPrefix: `/justice40-tool/${process.env.DESTINATION_FOLDER}`,
plugins: [
{
resolve: 'gatsby-plugin-sass',