chore: rename template files to handle gitea rendering
This commit is contained in:
1 parent
09edcf53a2
commit
33b56dec66
10 files changed
+2
No files matched your search
@@ -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}")
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user