From 78abd4a8e575256beeeb0b7a6ca024c974eed6c5 Mon Sep 17 00:00:00 2001 From: Yekta Yazar Date: Tue, 14 Apr 2026 09:26:08 -0700 Subject: [PATCH] FIX: Add artifact URL download support to unified deployment endpoint --- deploy_controller/deployment_controller.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/deploy_controller/deployment_controller.py b/deploy_controller/deployment_controller.py index 39c1b0d..2d01b25 100644 --- a/deploy_controller/deployment_controller.py +++ b/deploy_controller/deployment_controller.py @@ -1121,10 +1121,7 @@ def run_generic_deployment(deploy_request: DeployDict, temp_dir: str, task: Depl artifact_filename = f"{deploy_request.component_name}-{deploy_request.tag}.artifact" artifact_filepath = os.path.join(temp_dir, artifact_filename) - github_token = os.environ.get("GITHUB_TOKEN", "") headers = {"Accept": "application/octet-stream"} - if github_token: - headers["Authorization"] = f"token {github_token}" try: response = requests.get(deploy_request.artifact_url, headers=headers, stream=True, allow_redirects=True)