From 20f662ee03647ab35c93aa8dd8819864df0e26d9 Mon Sep 17 00:00:00 2001
From: "Mcintosh, Liam S (UG - Computer Science)" <lm00840@surrey.ac.uk>
Date: Sun, 23 May 2021 18:13:54 +0000
Subject: [PATCH] Split commands

---
 build.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.py b/build.py
index 2f481c2..0f57d9f 100644
--- a/build.py
+++ b/build.py
@@ -464,6 +464,7 @@ for item in ['mlb', 'vectorizer','model']:
 # print('Restarted services')
 
 print('Pushing trained pickle models...')
-os.system("git add mlb.pickle vectorizer.pickle model.pickle;git commit -m \"Update re-trained models\"; git push -u origin master")
-
+os.system("git add mlb.pickle vectorizer.pickle model.pickle")
+os.system("git commit -m \"Update re-trained models\"")
+os.system("git push -u origin master")
 
-- 
GitLab