Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,10 @@ authed_url = repo_url.replace("https://", f"https://{token}@")
|
|
| 15 |
|
| 16 |
# カレントディレクトリのパス
|
| 17 |
current_dir = os.getcwd()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
subprocess.run(["git", "config", "--global", "--add", "safe.directory", "/app"], check=True)
|
| 19 |
|
| 20 |
# .gitディレクトリがなければ初期化
|
|
|
|
| 15 |
|
| 16 |
# カレントディレクトリのパス
|
| 17 |
current_dir = os.getcwd()
|
| 18 |
+
|
| 19 |
+
subprocess.run(["git", "config", "--global", "user.name", "izum00"], check=True)
|
| 20 |
+
subprocess.run(["git", "config", "--global", "user.email", os.getenv("mail")], check=True)
|
| 21 |
+
|
| 22 |
subprocess.run(["git", "config", "--global", "--add", "safe.directory", "/app"], check=True)
|
| 23 |
|
| 24 |
# .gitディレクトリがなければ初期化
|