nodes/htz.ex42-1048908: update element-web config
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
1ac6559b9f
commit
014b6029c5
2 changed files with 13 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
assert node.has_bundle('nodejs')
|
||||
|
||||
from json import dumps
|
||||
from bundlewrap.metadata import metadata_to_json
|
||||
|
||||
element_web_root = '/var/www/{}'.format(node.metadata['element-web']['url'])
|
||||
|
||||
|
@ -20,7 +20,7 @@ git_deploy = {
|
|||
|
||||
files = {
|
||||
element_web_root + '/webapp/config.json': {
|
||||
'content': dumps(node.metadata['element-web']['config']),
|
||||
'content': metadata_to_json(node.metadata['element-web']['config']),
|
||||
'needs': {
|
||||
'action:element-web_yarn',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue