.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d7395301df
commit
4dc9e3793b
|
@ -13,12 +13,12 @@ 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 map(env, lambda: x: x) ],
|
||||||
"host": fromSecret("ssh-host"),
|
"host": fromSecret("ssh-host"),
|
||||||
"port": fromSecret("ssh-port"),
|
"port": fromSecret("ssh-port"),
|
||||||
"username": fromSecret("ssh-user"),
|
"username": fromSecret("ssh-user"),
|
||||||
"password": fromSecret("ssh-password"),
|
"password": fromSecret("ssh-password"),
|
||||||
"script": [
|
"script": [[
|
||||||
"echo $(($(date +%s%N)/1000000))",
|
"echo $(($(date +%s%N)/1000000))",
|
||||||
"echo SSH_HOST=$SSH_HOST > env-stack",
|
"echo SSH_HOST=$SSH_HOST > env-stack",
|
||||||
"sleep 5",
|
"sleep 5",
|
||||||
|
|
Reference in New Issue