This commit is contained in:
USER
2023-03-27 22:10:00 +01:00
parent 2beda5ace3
commit 633b36afd0

View File

@ -8,16 +8,16 @@ ZZ=/zz
MYNAME=`uname -n`
source ${ZZ}/zSyno/secrets/.${MYNAME}
REPO=${REPO_SYNO}
KEYS=
if [ ! -d ${ZPC} ]
REPOSITE=${PUBLIC_SITE}
REPO=${PUBLIC_REPO}
KEYS=${PUBLIC_KEYS}
if [ ! -d ${ZZ} ]
then
mkdir ${ZPC}
mkdir ${ZZ}
fi
REPOSITE=${REPO_SITE}
for i in ${REPO}
do
echo $i
@ -26,6 +26,7 @@ do
echo $i
cd ${ZZ}
git clone ${REPOSITE}/${i}.git
# GIT_SSH_COMMAND="ssh -o 'StrictHostKeyChecking no' -i ${KEYS}" git clone ${REPOSITE}/${i}.git
fi
done