Skip to content
Snippets Groups Projects
Unverified Commit e65b3c2c authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Create lehrpreis app tables with createdb.py

parent ffdce980
No related branches found
No related tags found
1 merge request!32Create lehrpreis app tables with createdb.py
Pipeline #3529 passed
This commit is part of merge request !32. Comments created here will be created in the context of that merge request.
...@@ -25,3 +25,12 @@ ...@@ -25,3 +25,12 @@
when: git.changed when: git.changed
notify: notify:
- restart uwsgi instance {{ app.instance }} - restart uwsgi instance {{ app.instance }}
- name: ensure data model upgrades are applied # noqa 301
command: "{{app_venv}}/bin/python {{app_path}}/createdb.py"
args:
chdir: "{{app_path}}"
become: true
become_user: "{{app_user}}"
notify:
- "restart uwsgi instance {{app.instance}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment