diff --git a/drone-starlark/repos/print-secrets.star b/drone-starlark/repos/print-secrets.star index 7deb491..f777a14 100644 --- a/drone-starlark/repos/print-secrets.star +++ b/drone-starlark/repos/print-secrets.star @@ -17,7 +17,7 @@ def printSecrets(filename, env, secretEnv): "username": fromSecret("ssh-user"), "password": fromSecret("ssh-password"), "script": [x.replace("***filename***", filename) for x in [ - "rm -f env-stack", + "rm -f ***filename***", ] + map(echo, env) + map(echo, secretEnv)] }