Skip to content
Snippets Groups Projects
Commit c69fdd06 authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

collect static needs to be done as deployer

This is a follow up bug from the user vs runas thingy...
parent aa5fedc3
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ deploy_django_{{ project_name }}_collectstatic: ...@@ -53,7 +53,7 @@ deploy_django_{{ project_name }}_collectstatic:
cmd.run: cmd.run:
- name: {{ venv_config.python_path }} manage.py collectstatic --noinput - name: {{ venv_config.python_path }} manage.py collectstatic --noinput
- cwd: {{ project_config.path }} - cwd: {{ project_config.path }}
- runas: {{ project_name }} - runas: deployer
- require: - require:
- file: deploy_django_{{ project_name }}_settings - file: deploy_django_{{ project_name }}_settings
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment