bundles/pretalx: wait for migrations before regenerating css and rebuilding stuff
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
352b028e58
commit
0ac0fe072d
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ actions = {
|
||||||
'command': 'PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild',
|
'command': 'PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild',
|
||||||
'needs': {
|
'needs': {
|
||||||
'action:pretalx_install',
|
'action:pretalx_install',
|
||||||
|
'action:pretalx_migrate',
|
||||||
'directory:/opt/pretalx/data',
|
'directory:/opt/pretalx/data',
|
||||||
'directory:/opt/pretalx/static',
|
'directory:/opt/pretalx/static',
|
||||||
'file:/opt/pretalx/pretalx.cfg',
|
'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',
|
'command': 'sudo -u pretalx PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx regenerate_css',
|
||||||
'needs': {
|
'needs': {
|
||||||
'action:pretalx_install',
|
'action:pretalx_install',
|
||||||
|
'action:pretalx_migrate',
|
||||||
'directory:/opt/pretalx/data',
|
'directory:/opt/pretalx/data',
|
||||||
'directory:/opt/pretalx/static',
|
'directory:/opt/pretalx/static',
|
||||||
'file:/opt/pretalx/pretalx.cfg',
|
'file:/opt/pretalx/pretalx.cfg',
|
||||||
|
|
Loading…
Reference in a new issue