SCD_COMPRESSION_LEVEL
- Default—
6
- Version—Adobe Commerce 2.1.4 and later
Specifies which gzip compression level (0
to 9
) to use when compressing static content; 0
disables compression.
stage:
build:
SCD_COMPRESSION_LEVEL: 4
SCD_COMPRESSION_TIMEOUT
- Default—
600
- Version—Adobe Commerce 2.1.4 and later
When the time it takes to compress the static assets exceeds the compression timeout limit, it interrupts the deployment process. Set the maximum execution time, in seconds, for the static content compression command.
stage:
build:
SCD_COMPRESSION_TIMEOUT: 800
SCD_NO_PARENT
- Default—
false
- Version—Adobe Commerce 2.4.2 and later
Set to true
to prevent generating static content for parent themes during the build phase.
Set SCD_NO_PARENT: false
during the build phase so that generating static content for the parent themes does not impact site deployment or cause unnecessary site downtime. See Static content deployment.
stage:
build:
SCD_NO_PARENT: false
SCD_MATRIX
- Default—Not set
- Version—Adobe Commerce 2.1.4 and later
You can configure multiple locales per theme. This customization helps speed up the build process by reducing the number of unnecessary theme files. For example, you can build the magento/backend theme in English and a custom theme in other languages.
The following example builds the Magento/backend
theme with three locales:
stage:
build:
SCD_MATRIX:
"Magento/backend":
language:
- en_US
- fr_FR
- af_ZA
The following example builds three themes with three locales:
stage:
build:
SCD_MATRIX:
"Magento/backend":
language:
- en_US
- fr_FR
- af_ZA
"Magento/blank":
language:
- en_US
- fr_FR
- af_ZA
"Magento/luma":
language:
- en_US
- fr_FR
- af_ZA
Or, you can choose to not deploy a theme:
stage:
build:
SCD_MATRIX:
"Magento/backend": [ ]