NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Create Deployment Environments #572

Closed Tammo-Feldmann closed 11 months ago

Tammo-Feldmann commented 11 months ago

In this PR I'm creating github environments for separate deployments between staging and production. This PR addresses an issue with the Coming Soon page where I had used the same API for both staging and production. We can now deploy each branch with the respective environment variable and separate APIs for our deployments.

Note: I had to fix a number of smaller issue with this deployment since we recently updates our backend infrastructure. I moved some of the data parsing logic into custom resolvers in gatsby-node.js, which I believe to be a better place for that logic.