.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-24 13:58:55 +01:00
parent e68e8f2fb1
commit 7ac95d63eb
1 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,9 @@ def printSecrets(env):
"image": "appleboy/drone-ssh", "image": "appleboy/drone-ssh",
"environment": environment(env), "environment": environment(env),
"settings": { "settings": {
**{
"envs": [x.replace("-", "_") for x in env], "envs": [x.replace("-", "_") for x in env],
},
"host": fromSecret("ssh-host"), "host": fromSecret("ssh-host"),
"port": fromSecret("ssh-port"), "port": fromSecret("ssh-port"),
"username": fromSecret("ssh-user"), "username": fromSecret("ssh-user"),
@ -36,9 +38,6 @@ def steps(name, dependsOn):
return { return {
"kind": "pipeline", "kind": "pipeline",
"name": name, "name": name,
"clone": {
"disable": True,
},
"depends_on": dependsOn, "depends_on": dependsOn,
"steps": [ "steps": [
printSecrets([ printSecrets([