diff --git a/fabfile.py b/fabfile.py index 0d8d968..56237a6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -60,11 +60,13 @@ def update_requirements(): def deploy(update=False): - if update: - update_requirements() with cd('~/colab/src/'), prefix(WORKON_COLAB): run('git pull') + + if update: + update_requirements() + run('python manage.py syncdb') run('python manage.py migrate') run('python manage.py collectstatic --noinput') -- libgit2 0.21.2