parent
bdd58e90f2
commit
2eb8792cb4
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
"""CI projects."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
from urllib.parse import urljoin
|
||||
|
||||
GROUP_AND_NAME = [
|
||||
"GITHUB_REPOSITORY",
|
||||
|
@ -26,4 +28,4 @@ class Projects:
|
|||
# url
|
||||
for variable in SERVER_URL:
|
||||
if value := self.environment.get(variable, None):
|
||||
self.url = Path(value) / self.group
|
||||
self.url = urljoin(value, self.group)
|
||||
|
|
Loading…
Reference in a new issue