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!
Was this page helpful?