Skip to content
Snippets Groups Projects
Commit 7fa10310 authored by Lars Beckers's avatar Lars Beckers
Browse files

Merge branch 'fix-lehrpreis' into 'master'

Create lehrpreis app tables with createdb.py

See merge request !32
parents ffdce980 e65b3c2c
No related branches found
No related tags found
1 merge request!32Create lehrpreis app tables with createdb.py
Pipeline #3543 passed
...@@ -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