From b8540564c255cb33ed7991466724e83f38c7524a Mon Sep 17 00:00:00 2001 From: Matt Price Date: Fri, 24 Jan 2025 18:45:30 -0500 Subject: [PATCH] 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. --- client/gatsby-config.js | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gatsby-config.js b/client/gatsby-config.js index fa5915cf..5fd0be38 100644 --- a/client/gatsby-config.js +++ b/client/gatsby-config.js @@ -18,7 +18,7 @@ module.exports = { image: '/static/favicon.ico', siteUrl: process.env.SITE_URL || 'http://localhost:8000', }, - pathPrefix: process.env.PATH_PREFIX || '', + pathPrefix: process.env.PATH_PREFIX || 'j40-cejst-2', plugins: [ { resolve: 'gatsby-plugin-sass', diff --git a/docker-compose.yml b/docker-compose.yml index 031bbac6..953803ce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,7 +37,7 @@ services: environment: # See the client readme for more info on environment variables: # https://github.com/usds/justice40-tool/blob/main/client/README.md - DATA_SOURCE: local + DATA_SOURCE: cdn TZ: America/Los_Angeles volumes: - ./client/src:/client/src