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:
Vim 2022-01-18 15:16:33 -05:00 committed by GitHub
commit f4926376fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 214 additions and 145 deletions

View file

@ -93,7 +93,7 @@ module.exports = {
{
resolve: `gatsby-plugin-env-variables`,
options: {
allowList: ['DATA_SOURCE'],
allowList: ['DATA_SOURCE', 'MAPBOX_STYLES_READ_TOKEN'],
},
},
{