.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
181ce05429
commit
93c24fb653
|
@ -11,12 +11,12 @@ def map(fn, l):
|
||||||
def secretToEnvironment(secret):
|
def secretToEnvironment(secret):
|
||||||
return secret.replace("-", "_").upper()
|
return secret.replace("-", "_").upper()
|
||||||
def echo(secret):
|
def echo(secret):
|
||||||
return "export {environment}='${environment}' >> $$filename$$ # {secret}".format(
|
return "echo 'export {environment}=${environment}' >> $$filename$$ # {secret}".format(
|
||||||
secret = secret,
|
secret = secret,
|
||||||
environment = secret.replace("-", "_").upper(),
|
environment = secret.replace("-", "_").upper(),
|
||||||
)
|
)
|
||||||
def echoSecret(secret):
|
def echoSecret(secret):
|
||||||
return "export {environment}=??? >> $$filename$$ # {secret}".format(
|
return "echo 'export {environment}=???' >> $$filename$$ # {secret}".format(
|
||||||
secret = secret,
|
secret = secret,
|
||||||
environment = secret.replace("-", "_").upper()
|
environment = secret.replace("-", "_").upper()
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue