Skip to content

Commit 1361e65

Browse files
authored
Add {{bin/magento}} to deploy assets properly
Without this fix, asset deployment fails when `{{magento_dir}}` is not empty.
1 parent 2d37daa commit 1361e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipe/magento2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
$themesToCompile .= ' -t ' . $theme;
209209
}
210210
}
211-
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}}");
211+
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}}");
212212
}
213213
});
214214

0 commit comments

Comments
 (0)