Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using environment variables without pushing .env to the repository #58

Open
RSurya99 opened this issue Mar 4, 2022 · 0 comments
Open

Comments

@RSurya99
Copy link

RSurya99 commented Mar 4, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant