Skip to content

Commit 35c4c06

Browse files
Merge branch 'obsidian'
chore: fix deploy.py
2 parents 5314c2e + ea3572a commit 35c4c06

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

scripts/deploy.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,21 @@ def main():
9191
logger.error("Invalid choice")
9292

9393
# Git operations
94-
commit_paths = input("Enter commit paths: ").strip()
95-
if not commit_paths:
96-
raise ValueError("Please specify at least one file to commit")
94+
# commit_paths = input("Enter commit paths: ").strip()
95+
# if not commit_paths:
96+
# raise ValueError("Please specify at least one file to commit")
9797

98-
commit_message = input("Enter commit message: ").strip()
99-
if not commit_message:
100-
raise ValueError("Commit message cannot be empty")
98+
# commit_message = input("Enter commit message: ").strip()
99+
# if not commit_message:
100+
# raise ValueError("Commit message cannot be empty")
101101

102-
# Stage files
103-
logger.info(f"Staging files: {commit_paths}")
104-
subprocess.run(["git", "add"] + commit_paths.split(), check=True)
102+
# # Stage files
103+
# logger.info(f"Staging files: {commit_paths}")
104+
# subprocess.run(["git", "add"] + commit_paths.split(), check=True)
105105

106-
# Commit changes
107-
logger.info(f"Committing with message: \"{commit_message}\"")
108-
subprocess.run(["git", "commit", "-m", commit_message], check=True)
106+
# # Commit changes
107+
# logger.info(f"Committing with message: \"{commit_message}\"")
108+
# subprocess.run(["git", "commit", "-m", commit_message], check=True)
109109

110110
# Push changes
111111
logger.info("Pushing to origin/main...")

0 commit comments

Comments
 (0)