sync
This commit is contained in:
10
prep
10
prep
@@ -47,18 +47,12 @@ def main():
|
||||
subprocess.run([
|
||||
"rsync", "-avz",
|
||||
"-e", RSYNC_SSH,
|
||||
LOCALMODS_DIR, CONFIG_PATH,
|
||||
"root@barotrauma:/opt/barotrauma/"
|
||||
LOCALMODS_DIR + "/", CONFIG_PATH,
|
||||
"baro@barotrauma:/opt/barotrauma/"
|
||||
], check=True)
|
||||
log_ok("Synced to server")
|
||||
print()
|
||||
|
||||
log_info("Step 4/4: Committing...")
|
||||
subprocess.run(["git", "add", "-A"], cwd=BASE, check=True)
|
||||
subprocess.run(["git", "commit", "-m", msg], cwd=BASE, check=True)
|
||||
log_ok(f"Committed: {msg}")
|
||||
print()
|
||||
|
||||
log_ok("Done. Push manually when ready.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user