From ceb7c7bc0a99f10cff9929e0bf95309490c147f3 Mon Sep 17 00:00:00 2001 From: Arjan Dikhoff Date: Fri, 25 Oct 2024 13:07:06 +0200 Subject: [PATCH] More ssh trying --- build.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index dad9e9eb6a97..9a7910bc1059 100755 --- a/build.sh +++ b/build.sh @@ -52,9 +52,9 @@ SSH_COMMAND="ssh -i $WORK_DIR/id_priv" echo $SSH_COMMAND git config --global core.sshcommand $SSH_COMMAND echo "Cloning $LIVE_REPO $REPO_DIR" -git config --get core.sshcommand -git -c core.sshCommand="$SSH_COMMAND" clone $LIVE_REPO $REPO_DIR 2>&1 | tee -a $REPORT_FILE -git config --get core.sshcommand +git config --list +git clone $LIVE_REPO $REPO_DIR 2>&1 | tee -a $REPORT_FILE +git config --list echo "Checking out $GIT_LIVE_BRANCH" cd $REPO_DIR git checkout $GIT_LIVE_BRANCH 2>&1 | tee -a ../$REPORT_FILE @@ -63,14 +63,13 @@ mkdir -p $BUILD_DIR echo "cp -r ../$SPHINX_DIR/* $BUILD_DIR" 2>&1 | tee -a ../$REPORT_FILE cp -r ../$SPHINX_DIR/* $BUILD_DIR 2>&1 | tee -a ../$REPORT_FILE -git config --get core.sshcommand +git config --list echo "Setting credentials" git config user.email "noreply_build_worker@cloudflare.com" git config user.name "Cloudflare build worker" git config core.pager cat git config --list -git config --get core.sshcommand echo "Commit and push to $GIT_LIVE_BRANCH, with message $GIT_COMMIT_MESSAGE" 2>&1 | tee -a ../$REPORT_FILE git add . 2>&1 | tee -a ../$REPORT_FILE git commit -m "$GIT_COMMIT_MESSAGE" 2>&1 | tee -a ../$REPORT_FILE