Skip to content

Strategies for .env generation on CD process. #1168

Answered by t-richard
karlkras asked this question in Support
Discussion options

You must be logged in to vote

When in the cloud, you would rpobably want to avoid using the .env file.

Instead, use environment variables as described here https://bref.sh/docs/environment/variables.html

Those can be used in combination with github action like this

provider:
    # ...
    environment:
        MY_VARIABLE: ${env:MY_VARIABLE} 

What is used in ${env:MY_VARIABLE} can be the name of the variable defined in github actions secrets

Replies: 1 comment 1 reply

Comment options

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

Answer selected by karlkras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants