actions icon indicating copy to clipboard operation
actions copied to clipboard

Using environment variables without pushing .env to the repository

Open RSurya99 opened this issue 3 years ago • 0 comments

When I try to deploy using this on Github actions in my project, I get an error where it can't detect the environment variables I created in my project in netlify. I have tried other ways like saving environment variables in Github repository secrets but still, the environment variables is not detected. then when I try to push .env file to the repository, the project runs normally. But I want my .env not to be pushed to the repository, can I do that?

RSurya99 avatar Mar 04 '22 05:03 RSurya99