Skip to content

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

@RSurya99

Description

@RSurya99

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions