This commit is contained in:
dvirlabs 2025-06-30 02:16:35 +03:00
parent dc197cf7cf
commit fe992c7e96

View File

@ -116,7 +116,7 @@ def push_workflow():
result = subprocess.run(["git", "clone", GITHUB_REPO, REPO_PATH]) result = subprocess.run(["git", "clone", GITHUB_REPO, REPO_PATH])
if result.returncode != 0: if result.returncode != 0:
raise Exception("❌ Failed to clone lab-monitor repo") raise Exception("❌ Failed to clone lab-monitor repo")
subprocess.run(["ls -l", REPO_PATH]) subprocess.run(["ls", "-l", REPO_PATH])
# ✅ Checkout main (GitHub default branch) # ✅ Checkout main (GitHub default branch)
subprocess.run(["git", "-C", REPO_PATH, "fetch"], check=True) subprocess.run(["git", "-C", REPO_PATH, "fetch"], check=True)