#Adi-react-environment-variables
1 messages · Page 1 of 1 (latest)
This is likely something wrong with how you've set your environment variables - did you make sure to set them for both your dev and production environments?
for production I am adding these variables in github actions repo secrets and then github actions generate build folder with those env variables and deploy it to server
in production I dont have any env file all handled in github actions
Something about your production setup clearly isn't working though, since those environment variables are coming back as undefined. I'd suggest trying to mirror your dev setup in production so you can see what may be going wrong
ok