replaced git clone to http
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-02-11 13:12:24 +01:00
parent d99e7782a3
commit c3c686fced
3 changed files with 10 additions and 27 deletions

View File

@@ -22,10 +22,7 @@ if [ "$GIT_REPO" == "" ]; then
GIT_REPO=git.format.hu
fi
ORGANIZATION=$ORGANIZATION
if [ "$ORGANIZATION" == "" ]; then
ORGANIZATION=format
fi
ORGANIZATION=${ORGANIZATION:-safebox}
SMARTHOST_PROXY=$(toUpperCase $SMARTHOST_PROXY)
LOCAL_PROXY=$(toUpperCase $LOCAL_PROXY)
@@ -43,17 +40,7 @@ if [ "$HOST" == "" ]; then
HOST=git.format.hu
fi
if [ ! -f /root/.ssh/id_rsa ]; then
if [ -f /etc/user/data/installer ]; then
ln -s /etc/user/data/installer /root/.ssh/id_rsa;
fi
else
echo "id_rsa exists"
fi
sed -i "s/GIT_REPO/$GIT_REPO/g" /root/.ssh/config;
sed -i "s/HOST/$HOST/g" /root/.ssh/config;
sed -i "s/PORT/$PORT/g" /root/.ssh/config;
# Check git repository permissions"