Spaces:
Running
Running
Commit
·
ac7c87e
1
Parent(s):
7df2ca0
Update clone.py
Browse files
clone.py
CHANGED
@@ -2,5 +2,5 @@ from git import Repo
|
|
2 |
import os
|
3 |
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
-
|
6 |
-
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
|
|
|
2 |
import os
|
3 |
|
4 |
GITHUB_PAT = os.environ['GITHUB']
|
5 |
+
def clone_repo():
|
6 |
+
return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
|