Closed ErinCall closed 4 years ago
If a .env file is present, use https://github.com/joho/godotenv to load it into the environment before calling envconfig.Process.
.env
envconfig.Process
There is related code in drone-helm, but the code for drone-helm3 will need to work differently since we aren't using the urfave/cli library.
drone-helm3
I'm taking this out of the v1.0 milestone—it might be nice to have at some point, but I haven't found myself suffering from its lack.
If a
.env
file is present, use https://github.com/joho/godotenv to load it into the environment before callingenvconfig.Process
.There is related code in drone-helm, but the code for
drone-helm3
will need to work differently since we aren't using the urfave/cli library.