Skip to content
Discussion options

You must be logged in to vote

I recently started using this template and came across this use case myself. Even though my repository is private (for the time being), I still didn't like the idea that the .env file was committed to and available in source control.

I tried a couple of approaches to solving this, which I'll outline below.

Approach 1 - Utilize GitHub Actions Secrets

As @gdoda mentioned above, setting up the corresponding GitHub Actions secrets for your repository could be one way to get the workflows running without a main .env file available. First, you will need to add the secrets to the Settings --> Secrets and variables --> Actions page of your repository:

After adding the secrets in the GitHub setti…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tylermilner
Comment options

Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
3 participants