home.paperless: update debian bookworm, update to paperless-ngx

This commit is contained in:
Franzi 2023-11-12 11:28:40 +01:00
parent b454fe4745
commit 400b10789a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 24 additions and 5 deletions

View file

@ -13,7 +13,7 @@ directories = {
git_deploy = {
'/opt/paperless/src': {
'repo': 'https://github.com/jonaswinkler/paperless-ng.git',
'repo': 'https://github.com/paperless-ngx/paperless-ngx.git',
'rev': node.metadata.get('paperless/version'),
'triggers': {
'action:paperless_collectstatic',
@ -100,7 +100,7 @@ actions = {
'command':
'cd /opt/paperless/src/src-ui && '
'npm install && '
'node_modules/.bin/ng build --prod',
'node_modules/.bin/ng build',
'triggered': True,
'needs': {
'file:/opt/paperless/src/paperless.conf',
@ -115,7 +115,7 @@ actions = {
'needs': {
'directory:/opt/paperless/static',
'file:/opt/paperless/src/paperless.conf',
'action:paperless_create_virtualenv',
'action:paperless_install_deps',
},
},
}