Skip to content

Commit

Permalink
Try different order
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent 5a24cb6 commit d5f3527
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ echo $BUILD_SSH_KEY > $WORK_DIR/id_priv
SSH_COMMAND="ssh -i $WORK_DIR/id_priv"
echo $SSH_COMMAND
git config core.sshCommand "$SSH_COMMAND"
git config core.pager cat
git config user.email "[email protected]"
git config user.name "Cloudflare build worker"

git config --list

echo "Cloning $LIVE_REPO $REPO_DIR"
git clone $LIVE_REPO $REPO_DIR 2>&1 | tee -a $REPORT_FILE
Expand All @@ -69,6 +64,11 @@ 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_LIVE_BRANCH, with message $GIT_COMMIT_MESSAGE" 2>&1 | tee -a ../$REPORT_FILE
git config user.email "[email protected]"
git config user.name "Cloudflare build worker"
git config core.pager cat
git config --list

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 d5f3527

Please sign in to comment.