Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -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![
|
||||
|
Reference in New Issue
Block a user