updated to find moved runner script

This commit is contained in:
brb
2023-07-13 12:54:32 +02:00
parent aca204aa80
commit 6b165aa0ff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def handle_event(request: GiteaRequest):
# clone repository
local_repo_dir = clone_repository(repo_url)
# locate runner script
runner_script_path = local_repo_dir / 'runner_script.yml'
runner_script_path = local_repo_dir / '.gitea' / 'gpu_runner' / 'script.yml'
if not runner_script_path.exists():
raise HTTPException(
status_code=200,