Skip to content

Commit

Permalink
Verbose ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent ad246eb commit 903a4e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ sphinx-build -b html -j 4 $MIGRATE_DIR $SPHINX_DIR 2>&1 | tee -a $REPORT_FILE

echo "Setting ssh key"
echo $BUILD_SSH_KEY > $WORK_DIR/id_priv
SSH_COMMAND="ssh -i $WORK_DIR/id_priv"
SSH_COMMAND="ssh -vvv -i $WORK_DIR/id_priv"
echo $SSH_COMMAND
git config --global core.sshcommand "$SSH_COMMAND"
echo "Cloning $LIVE_REPO $REPO_DIR"
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
Expand All @@ -63,7 +61,6 @@ 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 --list
echo "Setting credentials"
git config user.email "[email protected]"
git config user.name "Cloudflare build worker"
Expand Down

0 comments on commit 903a4e6

Please sign in to comment.