diff --git a/.drone.jsonnet b/.drone.jsonnet index 162e919..33f3eb7 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -34,9 +34,9 @@ local Pipeline(isDev) = { ], environment: { SSH_HOST: { from_secret: "ssh_host" }, - TARGET: { from_secret: "ssh_target" + if isDev then "_dev" else "" }, - USERNAME: { from_secret: "ssh_user" }, - KEY: { from_secret: "ssh_key" }, + SSH_TARGET: { from_secret: "ssh_target" + if isDev then "_dev" else "" }, + SSH_USER: { from_secret: "ssh_user" }, + SSH_KEY: { from_secret: "ssh_key" }, }, }, {