fix: gitlab importer for public repos

This commit is contained in:
Andras Bacsai 2022-09-11 12:38:50 +00:00
parent f956f612d3
commit 5d9f5f4a7d

View File

@ -40,7 +40,7 @@ export default async function ({
if (forPublic) {
await asyncExecShell(
`git clone -q -b ${branch} git@${url}:${repository}.git --config core.sshCommand="ssh -p ${customPort} -q -o StrictHostKeyChecking=no" ${workdir}/ && cd ${workdir}/ && git submodule update --init --recursive && git lfs pull && cd .. `
`git clone -q -b ${branch} https://${url}/${repository}.git ${workdir}/ && cd ${workdir}/ && git submodule update --init --recursive && git lfs pull && cd .. `
);
} else {
await asyncExecShell(