mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
fix: Deploy migrations as web user
Resolves issue where server cannot run due to log file owned by root
This commit is contained in:
1 parent
e410d9bcb1
commit
56568093ae
1 file changed
+1
@@ -105,6 +105,7 @@
|
|||||||
command: '{{ item }}'
|
command: '{{ item }}'
|
||||||
app_path: '{{ project_dir }}'
|
app_path: '{{ project_dir }}'
|
||||||
virtualenv: '{{ venv_dir }}'
|
virtualenv: '{{ venv_dir }}'
|
||||||
|
become_user: '{{ web_user }}'
|
||||||
with_items:
|
with_items:
|
||||||
- migrate
|
- migrate
|
||||||
- collectstatic
|
- collectstatic
|
||||||
|
|||||||
Reference in new issue
Block a user