feat: with fix
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-02-11 14:13:27 +01:00
parent 5dbaf3c87f
commit 999cc9d59f
12 changed files with 34 additions and 17 deletions

View File

@@ -368,7 +368,7 @@ impl MainAction for LeptosService {
.container()
.from(update_deployments_docker_image);
let dep = if let Some(sock) = std::env::var("SSH_AUTH_SOCK").ok() {
let dep = if let Ok(sock) = std::env::var("SSH_AUTH_SOCK") {
dep.with_unix_socket("/tmp/ssh_sock", self.client.host().unix_socket(sock))
.with_env_variable("SSH_AUTH_SOCK", "/tmp/ssh_sock")
.with_exec(vec![