Friendly umask for static files

This commit is contained in:
nikolark committed 2015-01-21 21:37:04 +01:00
1 parent 1a0affd0ac
commit 58a185f1e6
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -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