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}}"); } });