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