From 1361e650a33deedd3e230758fc85df978107886e Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Thu, 11 Dec 2025 19:13:26 +0100 Subject: [PATCH] Add {{bin/magento}} to deploy assets properly Without this fix, asset deployment fails when `{{magento_dir}}` is not empty. --- recipe/magento2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/magento2.php b/recipe/magento2.php index 5c593af24..5b18c4129 100644 --- a/recipe/magento2.php +++ b/recipe/magento2.php @@ -208,7 +208,7 @@ $themesToCompile .= ' -t ' . $theme; } } - run("{{bin/php}} {{release_or_current_path}}/bin/magento setup:static-content:deploy -f --content-version={{content_version}} {{static_deploy_options}} {{static_content_locales}} $themesToCompile -j {{static_content_jobs}}"); + run("{{bin/php}} {{bin/magento}} setup:static-content:deploy -f --content-version={{content_version}} {{static_deploy_options}} {{static_content_locales}} $themesToCompile -j {{static_content_jobs}}"); } });