- Deployer version: 7.3.3
- Deployment OS: MacOS
When using a custom magento_themes configuration like
->set('magento_themes', [ 'myvendor/theme-at' => 'de_AT', 'myvendor/theme-be' => 'fr_BE nl_BE', ]);
and not setting "split_static_deployment" to true no assets are generated.
The problem is in
|
if (count(get('magento_themes')) > 0 ) { |
|
foreach (get('magento_themes') as $theme) { |
|
$themesToCompile .= ' -t ' . $theme; |
|
} |
|
} |
|
run("{{bin/php}} {{release_or_current_path}}/bin/magento setup:static-content:deploy --content-version={{content_version}} {{static_deploy_options}} {{static_content_locales}} $themesToCompile -j {{static_content_jobs}}"); |
where its only checked if there are multiple themes to process and then the language configurations from the custom configuration get passed as theme names.
When using a custom magento_themes configuration like
->set('magento_themes', [ 'myvendor/theme-at' => 'de_AT', 'myvendor/theme-be' => 'fr_BE nl_BE', ]);and not setting "split_static_deployment" to true no assets are generated.
The problem is in
deployer/recipe/magento2.php
Lines 188 to 193 in ef0087d