This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
load("@this//:secret-to-environment.star", "secretToEnvironment")
|
|
|
|
def echoSecret(secret):
|
|
return 'echo "export {environment}=???" >> ***filename*** # {secret}'.format(
|
|
secret = secret,
|
|
environment = secretToEnvironment(secret), # .replace("-", "_").upper()
|
|
)
|