From 786844e26adfa47ee0cd0d7157240ffea2933cab Mon Sep 17 00:00:00 2001 From: Arjan Dikhoff Date: Fri, 25 Oct 2024 10:26:31 +0200 Subject: [PATCH] Fix dirs --- build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 73279c0444b4..51b3ceea2e02 100755 --- a/build.sh +++ b/build.sh @@ -25,11 +25,13 @@ BUILD_DIR="html/en/$GIT_BRANCH" echo "###############################" git config --list -echo $BUILD_SSH_KEY > ~/.ssh/id_rsa +WORK_DIR=`pwd` -cat ~/.ssh/id_rsa +echo $BUILD_SSH_KEY > $WORK_DIR/id_rsa -git config core.sshCommand 'ssh -i ~/.ssh/id_rsa' #specific private key +cat $WORK_DIR/id_rsa + +git config core.sshCommand 'ssh -i $WORK_DIR/id_rsa' #specific private key mkdir -p $REPORT_DIR