From 577164907b7fb83bf09ada13db1a358a1cac013c Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Sat, 17 Mar 2018 12:34:18 +0100 Subject: [PATCH] Fix deploy --- fabfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fabfile.py b/fabfile.py index 5222ac5..3a8d010 100644 --- a/fabfile.py +++ b/fabfile.py @@ -14,10 +14,9 @@ def virtualenv(): def deploy(): - run('git pull') # Get source - run('pipenv install') # install deps in virtualenv - with virtualenv(): + run('git pull') # Get source + run('pipenv install') # install deps in virtualenv run('umask 022; python manage.py collectstatic --noinput') # Collect static run('python manage.py migrate') # Run DB migrations