Artifakt Docs
Stacks 5.0 and up
Search
K
Links

Statics generation

All your statics could be generated during the "build" phase. To do so, you'll need to include your config.php file in your repository, with all scopes and themes.
If you don't have any config.php file in your app/etc folder, then it will be generated during the build phase automatically.
As a reminder, you can extract all these information from your current environnement to your config.php file with this command:
bin/magento app:config:dump scopes themes
Variable
Default value
Description
ARTIFAKT_MAGE_STATIC_JOBS
5
Number of jobs launched in parallel
ARTIFAKT_MAGE_STATIC_THEME
all
Theme list separated by spaces
ARTIFAKT_MAGE_THEME_EXCLUDE
none
Excluded theme list separated by spaces
ARTIFAKT_MAGE_LANG_EXCLUDE
none
Excluded language list separated by spaces
ARTIFAKT_MAGE_LANG
all
Language list separated by spaces
MAGENTO_CONFIG_SET_VALUES
none
Config list to set during the build. Ex: js/minify_files css/merge_css_files...
During the build phase the database is not available. Regarding this, we added the variable MAGENTO_CONFIG_SET_VALUES in order to give context to the content static deploy then statics are full generated.
Feel free to use following mysql request to find which config needs to be filled in:
SELECT value from core_config_data
where path REGEXP ('^dev/(js|css)/*')
and value=1;