Skip to content

Conversation

leopuleo
Copy link

@leopuleo leopuleo commented Feb 2, 2019

Hello,
first of all, thanks for this amazing starter!
I experienced some issues by deploying it via CI/CD tools like CircleCI:

since the environment variables are stored inside the platform, and not in a .env file, Gatsby build process fails.

I solved it by changing the prefix from REACT_APP to GATSBY, as suggested here:

https://www.gatsbyjs.org/docs/environment-variables/#client-side-javascript

I guess this happens because Firebase is a client-side script.

Let me know what you think!
Cheers,

Leonardo

@rwieruch
Copy link
Member

Thank you for your help here! Another PR fixed it as well, so I have merged to from there #47

@rwieruch rwieruch closed this May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants