Closed ithuis closed 2 months ago
It fails because you're missing part of the required configuration on magento side. You have to run:
bin/magento app:config:dump scopes themes
This is going to add additional configuration to your app/etc/config.php
which is required for static content deployment to work in a pipeline.
You may want to add this to app/etc/config.php
too:
'system' => [
'default' => [
'dev' => [
'js' => [
'merge_files' => '1',
'minify_files' => '1'
],
'css' => [
'merge_files' => '1',
'minify_files' => '1'
],
'template' => [
'minify_html' => '1'
]
]
]
As referred in https://deployer.org/docs/7.x/recipe/magento2#magentodeployassets
You may also want to check this article https://www.michiel-gerritsen.com/deploying-magento-using-deployer-and-github-actions
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
Deployer version: 7.3.1 Deployment OS: linux
this is my deployer for my new project running the latest magento 2. but during the deploy in the step magento:deploy:assets i get the error
Upvote & Fund