diff --git a/stack_orchestrator/deploy/webapp/util.py b/stack_orchestrator/deploy/webapp/util.py index acbfa787..416ee2f2 100644 --- a/stack_orchestrator/deploy/webapp/util.py +++ b/stack_orchestrator/deploy/webapp/util.py @@ -255,7 +255,9 @@ def build_container_image(app_record, tag, extra_build_args=[], logger=None): github_token = os.environ.get("DEPLOYER_GITHUB_TOKEN") 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_args = [ + "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() if ref: