Multi-site and domains in CI/CD pipeline

In a multi-site setup, defining a domain for a site is important so Neos knows which domain points to which site.

I’m looking for an ideal way to handle this with the CI/CD pipeline. So we assume that I want to use the following domains:

What is the suggested way to handle this? In TYPO3 environments, we just update the Domain record with an SQL query on deployment. Is there a better way to handle this in Neos or is updating neos_neos_domain_model_domain the best way?

You could use the cli command domain:add

1 Like