replaced git clone to http
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user