mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update
This commit is contained in:
@@ -350,6 +350,8 @@ export const cloneRawGitlabRepository = async (entity: Compose) => {
|
|||||||
const basePath = COMPOSE_PATH;
|
const basePath = COMPOSE_PATH;
|
||||||
const outputPath = join(basePath, appName, "code");
|
const outputPath = join(basePath, appName, "code");
|
||||||
await recreateDirectory(outputPath);
|
await recreateDirectory(outputPath);
|
||||||
|
const gitlabUrl = gitlabProvider.gitlabUrl;
|
||||||
|
// What happen with oauth in self hosted instances?
|
||||||
const repoclone = `gitlab.com/${gitlabPathNamespace}.git`;
|
const repoclone = `gitlab.com/${gitlabPathNamespace}.git`;
|
||||||
const cloneUrl = `https://oauth2:${gitlabProvider?.accessToken}@${repoclone}`;
|
const cloneUrl = `https://oauth2:${gitlabProvider?.accessToken}@${repoclone}`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user