fix: gitlab importer for public repos
This commit is contained in:
parent
f956f612d3
commit
5d9f5f4a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue