Skip to content

Commit

Permalink
Move M2 cache flush to correct position
Browse files Browse the repository at this point in the history
  • Loading branch information
sprankhub authored Sep 5, 2024
1 parent 8a78e3e commit 1af675b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/magento2.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ function magentoDeployAssetsSplit(string $area)
'magento:config:import',
'magento:upgrade:db',
'magento:maintenance:disable',
'magento:cache:flush',
]);

desc('Magento2 build operations');
Expand All @@ -337,6 +336,8 @@ function magentoDeployAssetsSplit(string $area)
'deploy:publish',
]);

after('deploy:symlink', 'magento:cache:flush');

after('deploy:failed', 'magento:maintenance:disable');

// Artifact deployment section
Expand Down

0 comments on commit 1af675b

Please sign in to comment.