diff --git a/cd/projects.py b/cd/projects.py index 616ff2d..9094c20 100644 --- a/cd/projects.py +++ b/cd/projects.py @@ -16,7 +16,9 @@ class Projects: # group, name for variable in GROUP_AND_NAME: if value := self.environment.get(variable, None): - self.group, self.name = path.split(value) + path = Path(value) + self.group = path.parent + self.name = path.name # url for variable in SERVER_URL: if value := self.environment.get(variable, None):