EDGE Delivery services common repo | Adobe Higher Education
Skip to main content
Prince_Shivhare
Community Advisor
Community Advisor
January 27, 2025
Risolto

EDGE Delivery services common repo

  • January 27, 2025
  • 3 risposte
  • 760 visualizzazioni

Hey Team,

 

We are trying to use the Edge Delivery Service GitHub template for our website to enable AEM Site Universal Editor authoring.
Our approach is as follows: we have a Site_A repository, a Site_B repository, and a common repository. We would like to create a component in the common repository and use it in both Site_A and Site_B. Is this possible? If so, how can we achieve it?

 

Thanks

Questo argomento è stato chiuso alle risposte.
Migliore risposta di arunpatidar

Hi @prince_shivhare 

Its only possible with repoless setup but if you create normal repo then you can't link different sites content with same repo.

you may need to fork another site repo and linked content to site B.

 

Note : forking repo is old approach of reusing code with different sites.

3 risposte

arunpatidar
Community Advisor
Community Advisor
January 27, 2025
Arun Patidar
Prince_Shivhare
Community Advisor
Community Advisor
January 28, 2025

That looks like very old documentation because nowadays, everything happens automatically once you create a site in AEM.

But I have another question: I’m able to create two sites, siteA and siteB, using the same GitHub repo, and any changes in the repo reflect on both sites. So, can I have two different domains for siteA and siteB, even though both sites are created within the same AEM instance?

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorRisposta
Community Advisor
January 28, 2025

Hi @prince_shivhare 

Its only possible with repoless setup but if you create normal repo then you can't link different sites content with same repo.

you may need to fork another site repo and linked content to site B.

 

Note : forking repo is old approach of reusing code with different sites.

Arun Patidar
AmitVishwakarma
Community Advisor
Community Advisor
January 27, 2025
Amit Vishwakarma - Adobe Commerce Champion 2025 | 16x Adobe certified | 4x Adobe SME
Prince_Shivhare
Community Advisor
Community Advisor
January 29, 2025

We got the solution, we are using 1 repository, creating two sites, and managing the domain change in cloudfare coworker.

Thanks