bundles/paperless-ng: ensure we have static files
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
9a60d36a03
commit
6bfcd87976
1 changed files with 11 additions and 0 deletions
|
@ -16,6 +16,7 @@ git_deploy = {
|
|||
'repo': 'https://github.com/jonaswinkler/paperless-ng.git',
|
||||
'rev': node.metadata.get('paperless/version'),
|
||||
'triggers': {
|
||||
'action:paperless_collectstatic',
|
||||
'action:paperless_compile_frontend',
|
||||
'action:paperless_install_deps',
|
||||
'action:paperless_migrate_database',
|
||||
|
@ -103,6 +104,16 @@ actions = {
|
|||
'pkg_apt:nodejs',
|
||||
},
|
||||
},
|
||||
'paperless_collectstatic': {
|
||||
'command':
|
||||
'cd /opt/paperless/src/src && '
|
||||
'sudo -Hu paperless /opt/paperless/venv/bin/python manage.py collectstatic',
|
||||
'triggered': True,
|
||||
'needs': {
|
||||
'directory:/opt/paperless/static',
|
||||
'file:/opt/paperless/src/paperless.conf',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
svc_systemd = {
|
||||
|
|
Loading…
Reference in a new issue