diff --git a/build.py b/build.py index 1794e1f4fdced1706e0dff0b9b4f6e9218a0a599..2f481c29c0c0d200029b0fe342217ccafa0b956d 100644 --- a/build.py +++ b/build.py @@ -463,7 +463,7 @@ for item in ['mlb', 'vectorizer','model']: # os.system("forever restart;cd NodeAPI;pm2 restart /NodeAPI/index.js") # 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")