.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e68e8f2fb1
commit
7ac95d63eb
|
@ -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([
|
||||||
|
|
Reference in New Issue