bundle:/element-web install yarn from npm instead of apt

This commit is contained in:
Sophie Schiller 2021-05-14 20:01:19 +02:00
parent ea73de81e5
commit 3c5e778016
2 changed files with 2 additions and 3 deletions

View file

@ -29,9 +29,9 @@ files = {
actions = {
'element-web_yarn': {
'command': 'cd ' + element_web_root + ' && yarn install && yarn build',
'command': 'cd ' + element_web_root + ' && npm install yarn && node_modules/yarn/bin/yarn install && node_modules/yarn/bin/yarn build',
'needs': {
'pkg_apt:yarn',
'pkg_apt:nodejs',
},
'triggered': True,
},

View file

@ -7,7 +7,6 @@ def nginx_config(metadata):
'vhosts': {
metadata.get('element-web/url'): {
'webroot': '/var/www/{}/webapp/'.format(metadata.get('element-web/url')),
'extras': True,
},
},
},