global-electrification-platform / explorer

Global Electrification Platform (Web)
https://electrifynow.energydata.info/
MIT License
10 stars 7 forks source link

Mapbox Account Change #267

Closed EricSoroos closed 4 years ago

EricSoroos commented 4 years ago

This change needs to be rolled out in sync with swapping the RDS instance which has the appropriate layer definitions.

We also need to update the mapboxAccountToken (in CI?) to match the Derilinx one.

EricSoroos commented 4 years ago

@vgeorge CI is overwriting the key when pushing to production: Prod, broken: https://api.mapbox.com/styles/v1/derilinx/ck3yqjovg4dpn1crwajrc9ajr?access_token=pk.eyJ1IjoiZGV2c2VlZCIsImEiOiJjam9vamtjc2ExaHl2M3FxYW0yeTNjeHprIn0.EGNe0UbYK1gEQSB9Bs9YYw Staging, working: https://api.mapbox.com/styles/v1/derilinx/ck3yqjovg4dpn1crwajrc9ajr?access_token=pk.eyJ1IjoiZGVyaWxpbngiLCJhIjoiY2szeTlzbWo2MDV6eDNlcDMxM3dzZXBieiJ9.zPf1iiFilYYwyx6ETNj_8w

I'm attempting a manual push, to fix for the moment.

EricSoroos commented 4 years ago

Manually pushed and working, I want to get the CI working so it doesn't overwrite the working version, but it's not critical.