Build magento specific theme(s) on gitlab-ci | hyva support

To limit magento builds to specific theme(s) using our gitlab-ci-deployer use the themes variable like follows :

include:
  - remote: "https://raw.githubusercontent.com/MAD-I-T/gitlab-ci-magento/v3.21/.magento-actions-full-template.yml"


build:stage:
  variables:
    INPUT_THEMES: 'Vendor/custom-theme' # or themes: 'Vendor/Theme1,Vendor/Theme2'
  extends: .build:stage

Build by specific themes and locales (eg. NL and US)

include:
  - remote: "https://raw.githubusercontent.com/MAD-I-T/gitlab-ci-magento/v3.21/.magento-actions-full-template.yml"


build:stage:
  variables:
    INPUT_THEMES: 'Vendor/custom-theme'
    INPUT_LANGS: 'nl_NL,en_US'
  extends: .build:stage

The hyva based themes are automatically detected and built. Just don’t forget to add the composer credentials along with magento one’s in the gitlab-ci variable COMPOSER_AUTH under (Settings>CI/CD>Variables). See video below to learn more