mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-13 11:14:19 -07:00
config changes for automated deployment
1. add a path prefix to the build in order to deploy on github pages 2. more importantly, use the CDN tiles, at least for now.
This commit is contained in:
parent
b65d8273ac
commit
b8540564c2
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
image: '/static/favicon.ico',
|
image: '/static/favicon.ico',
|
||||||
siteUrl: process.env.SITE_URL || 'http://localhost:8000',
|
siteUrl: process.env.SITE_URL || 'http://localhost:8000',
|
||||||
},
|
},
|
||||||
pathPrefix: process.env.PATH_PREFIX || '',
|
pathPrefix: process.env.PATH_PREFIX || 'j40-cejst-2',
|
||||||
plugins: [
|
plugins: [
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-sass',
|
resolve: 'gatsby-plugin-sass',
|
||||||
|
|
|
@ -37,7 +37,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
# See the client readme for more info on environment variables:
|
# See the client readme for more info on environment variables:
|
||||||
# https://github.com/usds/justice40-tool/blob/main/client/README.md
|
# https://github.com/usds/justice40-tool/blob/main/client/README.md
|
||||||
DATA_SOURCE: local
|
DATA_SOURCE: cdn
|
||||||
TZ: America/Los_Angeles
|
TZ: America/Los_Angeles
|
||||||
volumes:
|
volumes:
|
||||||
- ./client/src:/client/src
|
- ./client/src:/client/src
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue