chore: rename template files to handle gitea rendering
This commit is contained in:
@@ -14,6 +14,7 @@ def git_push_service_directory(
|
||||
"""
|
||||
try:
|
||||
repo = git.Repo(repo_root)
|
||||
original_branch = repo.active_branch.name
|
||||
|
||||
logger.info(f"Switching to branch '{branch_name}'...")
|
||||
# Create branch if it doesn't exist, then checkout
|
||||
@@ -39,6 +40,7 @@ def git_push_service_directory(
|
||||
origin.push(refspec=f"{branch_name}:{branch_name}").raise_if_error()
|
||||
|
||||
logger.info("Successfully pushed!")
|
||||
logger.info(f"Switching to branch '{original_branch}'...")
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Git Operation Failed: {e}")
|
||||
|
||||
Reference in New Issue
Block a user