mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-20 07:23:51 -07:00
Allow open source map with new API key (#1155)
* Allow open source map - create new getOSBaseMap function - set secret on GitHub actions - read secret into J40Map.tsx - add secret to gatsby-config - remove secret from .env.* * Fix typo on yml file * Add placeholder for API TOKEN - add placeholder in docker compose - add placeholder in .env.dev - remove console.log * Add Mapbox API Token to main deploy
This commit is contained in:
parent
18f299c5f8
commit
f4926376fa
10 changed files with 214 additions and 145 deletions
1
.github/workflows/deploy_main.yml
vendored
1
.github/workflows/deploy_main.yml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
|||
DATA_SOURCE: cdn
|
||||
# TODO: Update main URL when either is back up
|
||||
SITE_URL: https://d29zfl8cj7y1zf.cloudfront.net/
|
||||
MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}"
|
||||
- name: Get directory contents
|
||||
run: ls -la public
|
||||
- name: Lint
|
||||
|
|
1
.github/workflows/deploy_staging.yml
vendored
1
.github/workflows/deploy_staging.yml
vendored
|
@ -38,6 +38,7 @@ jobs:
|
|||
DATA_SOURCE: cdn
|
||||
SITE_URL: "http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/"
|
||||
PATH_PREFIX: "/justice40-tool/${{env.DESTINATION_FOLDER}}"
|
||||
MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}"
|
||||
- name: Get directory contents
|
||||
run: ls -la public
|
||||
- name: Lint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue