How to add .env variables when deploying from github

Hi, one quick question: 1. I have a React application done using Vite. 2. In github there is a .env-example file that in development is copied to an .env 3. But when I deploy to pages there is no way to add a production .env How can I add these environment variables, I tried with settings -> environment variables but the application doesn't see them Thanks!
2 Replies
Hello, I’m Allie!
Have you redeployed since updating them?
yoav8888
yoav8888OP14mo ago
just have and it works, thanks!
Want results from more Discord servers?
Add your server