chore: rename template files to handle gitea rendering
Deploy bin / deploy (push) Canceled after 0s
Deploy service MASTER / deploy (push) Canceled after 0s

This commit is contained in:
Benjamin Labrecque
2026-07-03 15:09:46 +02:00
parent 09edcf53a2
commit 33b56dec66
10 changed files with 2 additions and 0 deletions
+2
View File
@@ -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}")