From d3f6325b37d540cfc9be318f8d271bc4fb5fc7f0 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Fri, 24 Apr 2020 14:26:44 +0100 Subject: [PATCH] . --- .drone.star | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 7adabd6..6d36c8b 100644 --- a/.drone.star +++ b/.drone.star @@ -8,12 +8,13 @@ def environment(env): ) def printSecrets(env): + list envv = map(env, lambda: x: x) return { "name": "print secrets", "image": "appleboy/drone-ssh", "environment": environment(env), "settings": { - "envs": [x.replace("-", "_") for x in map(env, lambda: x: x) ], + "envs": [x.replace("-", "_") for x in envv ], "host": fromSecret("ssh-host"), "port": fromSecret("ssh-port"), "username": fromSecret("ssh-user"),