Closed Whatapalaver closed 4 years ago
Oh scrub the question - I've finally got it to work! I'm not convinced I know what has changed but I basically have all 4 of the above ENV_VARS in the netlify build settings and it deployed.
Is it possible you forgot to install dotenv before?
I am having problems trying to deploy a Gatsby site with Algolia search functionality included. I have a .env file with my ENV_VARIABLES set up and I have transferred these to the deploy settings section of the netlify ui.
These build and run locally, however I am getting netlify build failures when I deploy, that say:
I have the following in my .env file:
I have transferred all these (except the admin key) to the build section of netlify but I still get the error. I've tried with and without the GATSBY_ prefix as well but still no luck.
Any ideas or recommendations for how to set this up to deploy? Thanks