From 4b181dd4615d1838d18bee378ceaac628ad588ea Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 8 Dec 2024 11:00:48 +0100 Subject: [PATCH] Fix git pull --- docker/deployer_docker/webhook/gitea-webhook-handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/deployer_docker/webhook/gitea-webhook-handler.py b/docker/deployer_docker/webhook/gitea-webhook-handler.py index 9a9ea47..b1168fe 100644 --- a/docker/deployer_docker/webhook/gitea-webhook-handler.py +++ b/docker/deployer_docker/webhook/gitea-webhook-handler.py @@ -22,7 +22,7 @@ GIT_AUTH_MODE = os.environ['GIT_AUTH_MODE'] if GIT_AUTH_MODE == 'http': auth_option = [] elif GIT_AUTH_MODE == 'ssh': - auth_option = ['--config core.sshCommand="ssh -i /ssh/ssh-key" -o StrictHostKeyChecking=accept-new'] + auth_option = ['--config','core.sshCommand="ssh -i /ssh/ssh-key"','-o','StrictHostKeyChecking=accept-new'] else: raise ValueError("Invalid GIT_AUTH_MODE")