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
Branches
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ deploy_django_{{ project_name }}_collectstatic:
cmd.run:
- name: {{ venv_config.python_path }} manage.py collectstatic --noinput
- cwd: {{ project_config.path }}
- runas: {{ project_name }}
- runas: deployer
- require:
- file: deploy_django_{{ project_name }}_settings
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment