Archived
Fix deploy
This commit is contained in:
1 parent
f4e0865f67
commit
577164907b
1 file changed
+2
-3
Vendored
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user