Friendly umask for static files
This commit is contained in:
1 parent
1a0affd0ac
commit
58a185f1e6
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user