composed secret printing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-28 17:16:15 +01:00
parent 4ba904839d
commit 3b40d8c44b
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ local util = {
'_',
),
),
envSet(env): function(step) step {
envSet(env): {
environment +: {
[util.environment(env)]: util.fromSecret(
util.secret(env)
@ -68,7 +68,7 @@ local util = {
],
},
},
printEnv(file, env): function(step) util.envSet(env)(step) {
printEnv(file, env): function(step) step (util.envSet(env)) {
settings +: {
script +: [
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {