From 62f7825ec2252547abe7402e44dac7cd79290cb2 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 5 Jul 2024 09:55:14 -0600 Subject: [PATCH] Remove quotes from git config --- stack_orchestrator/deploy/webapp/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/deploy/webapp/util.py b/stack_orchestrator/deploy/webapp/util.py index 416ee2f2..97e756d9 100644 --- a/stack_orchestrator/deploy/webapp/util.py +++ b/stack_orchestrator/deploy/webapp/util.py @@ -256,7 +256,7 @@ def build_container_image(app_record, tag, extra_build_args=[], logger=None): if github_token: logger.log("Github token detected, setting it in the git environment") git_config_args = [ - "git", "config", "--global", f"url.\"https://{github_token}:@github.com/\".insteadOf", "https://github.com/" + "git", "config", "--global", f"url.https://{github_token}:@github.com/.insteadOf", "https://github.com/" ] result = subprocess.run(git_config_args, stdout=logger.file, stderr=logger.file) result.check_returncode()