.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c0f500b362
commit
79d90c85de
11
.drone.star
11
.drone.star
|
@ -12,11 +12,12 @@ def secretToEnvironment(secret):
|
|||
return secret.replace("-", "_").upper()
|
||||
def echo(filename):
|
||||
def mapped(secret):
|
||||
return "export {environment}='${environment}' >> {filename} # {secret}".format(
|
||||
secret = secret,
|
||||
environment = secret.replace("-", "_").upper(),
|
||||
filename = filename,
|
||||
)
|
||||
return 'hello'
|
||||
#return "export {environment}='${environment}' >> {filename} # {secret}".format(
|
||||
# secret = secret,
|
||||
# environment = secret.replace("-", "_").upper(),
|
||||
# filename = filename,
|
||||
# )
|
||||
return mapped
|
||||
def echoSecret(secret):
|
||||
return "export {environment}=??? >> env-stack # {secret}".format(
|
||||
|
|
Reference in New Issue