Fix git pull
This commit is contained in:
parent
1096913741
commit
4b181dd461
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user