diff --git a/workflow-direct/main.go b/workflow-direct/main.go index c600eb4..4fc1a6d 100644 --- a/workflow-direct/main.go +++ b/workflow-direct/main.go @@ -316,7 +316,7 @@ next_repo: } // add repository to git project - common.PanicOnError(git.GitExec(config.GitProjectName, "submodule", "--quiet", "add", "--depth", "1", r.SSHURL, r.Name)) + common.PanicOnError(git.GitExec(config.GitProjectName, "submodule", "--quiet", "add", "--depth", "1", r.CloneURL, r.Name)) if len(config.Branch) > 0 { if err := git.GitExec(path.Join(config.GitProjectName, r.Name), "fetch", "--depth", "1", "origin", config.Branch+":"+config.Branch); err != nil {