Skip to content

Commit

Permalink
Add creds
Browse files Browse the repository at this point in the history
  • Loading branch information
adikhoff committed Oct 24, 2024
1 parent 91ad58a commit 68bc5be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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

Expand Down

0 comments on commit 68bc5be

Please sign in to comment.