Skip to content

Shopware recipe: Share theme folder for atomic themes #4059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

M-arcus
Copy link
Contributor

@M-arcus M-arcus commented Apr 22, 2025

Shopware has decided to make their theme compilation atomic: https://developer.shopware.com/docs/resources/references/adr/2023-01-10-atomic-theme-compilation.html

This means, on each deployment, during the execution of theme:compile (when building remotely, code is here), the storefront page is broken, because the new theme files only exists in an unreleased release, until deploy:publish happens.

@Schrank Schrank merged commit d459c14 into deployphp:master Apr 22, 2025
6 checks passed
@Schrank
Copy link
Contributor

Schrank commented Apr 22, 2025

Thank you @M-arcus!

@M-arcus
Copy link
Contributor Author

M-arcus commented Apr 22, 2025

@Schrank
I have checked the code again, in this commit 7f905c2 the recipe was changed to local compilation of the theme. This means, the compiled theme would get removed and the theme folder symlinked to the shared folder.

I think we need to revert the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants