diff --git a/fabfile.py b/fabfile.py index 138c457..d77de0c 100644 --- a/fabfile.py +++ b/fabfile.py @@ -56,7 +56,7 @@ def deploy(): with virtualenv(): run('git pull') # Get source run('pip install -r requirements.txt') # install deps in virtualenv - run('python manage.py collectstatic --noinput') # Collect static + run('umask 022; python manage.py collectstatic --noinput') # Collect static run('python manage.py migrate') # Run DB migrations # Reload gunicorn