feat: configure dedicated bot SSH key and non-interactive SSH for git operations.
Some checks failed
Deploy to Production / test (push) Failing after 20s
Deploy to Production / build (push) Has been skipped
Deploy to Production / deploy (push) Has been skipped

This commit is contained in:
syntaxbullet
2026-01-30 15:26:07 +01:00
parent dabcb4cab3
commit fee4969910
2 changed files with 6 additions and 3 deletions

View File

@@ -26,7 +26,11 @@ async function execWithTimeout(
return new Promise((resolve, reject) => {
const child = exec(cmd, {
cwd: options.cwd,
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" }
env: {
...process.env,
GIT_TERMINAL_PROMPT: "0",
GIT_SSH_COMMAND: "ssh -o BatchMode=yes"
}
}, (error: ExecException | null, stdout: string, stderr: string) => {
if (error) {
reject(error);