From 0ac0fe072daa011da78fb04e3689deb5a6329ff2 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 25 Dec 2021 10:00:26 +0100 Subject: [PATCH] bundles/pretalx: wait for migrations before regenerating css and rebuilding stuff --- bundles/pretalx/items.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/pretalx/items.py b/bundles/pretalx/items.py index 0eb2e8f..0a69ace 100644 --- a/bundles/pretalx/items.py +++ b/bundles/pretalx/items.py @@ -31,6 +31,7 @@ actions = { 'command': 'PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild', 'needs': { 'action:pretalx_install', + 'action:pretalx_migrate', 'directory:/opt/pretalx/data', 'directory:/opt/pretalx/static', 'file:/opt/pretalx/pretalx.cfg', @@ -41,6 +42,7 @@ actions = { 'command': 'sudo -u pretalx PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx regenerate_css', 'needs': { 'action:pretalx_install', + 'action:pretalx_migrate', 'directory:/opt/pretalx/data', 'directory:/opt/pretalx/static', 'file:/opt/pretalx/pretalx.cfg',