From 68bc5be0ecd11223e940e8d9ed6c32f621bb9c44 Mon Sep 17 00:00:00 2001 From: Arjan Dikhoff Date: Fri, 25 Oct 2024 00:23:50 +0200 Subject: [PATCH] Add creds --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 1315edb04c80..f89ff6955fc2 100755 --- a/build.sh +++ b/build.sh @@ -54,9 +54,12 @@ 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 -echo "Commit and push to $GIT_REMOTE_BRANCH, with message $GIT_COMMIT_MESSAGE" 2>&1 | tee -a ../$REPORT_FILE -git add . 2>&1 | tee -a ../$REPORT_FILE +echo "Setting credentials" +git config --global user.email "buildbot@cloudflare.com" +git config --global user.name "CloudFlare bot" +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 git push -f 2>&1 | tee -a ../$REPORT_FILE