mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +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:
@@ -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