Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit fb0feb3

Browse files
authored
Merge pull request #7 from polargold/master
Add custom layouts rebuild command
2 parents 0c05f8e + d4a9d40 commit fb0feb3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

deploy.sample.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@
7979
'deploy:pimcore:migrate',
8080
'deploy:clear_paths',
8181
'deploy:pimcore:rebuild-classes',
82+
'deploy:pimcore:custom-layouts-rebuild',
8283
'deploy:symlink',
8384
'deploy:unlock',
8485
'cleanup',
8586
'success'
8687
])->desc('Deploy your project');
8788

8889
// [Optional] if deploy fails automatically unlock.
89-
after('deploy:failed', 'deploy:unlock');
90+
after('deploy:failed', 'deploy:unlock');

recipes/pimcore.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
run('{{bin/php}} {{bin/console}} pimcore:deployment:classes-rebuild -c -d -n');
2121
});
2222

23+
task('deploy:pimcore:custom-layouts-rebuild', function () {
24+
run('{{bin/php}} {{bin/console}} pimcore:deployment:custom-layouts-rebuild -c -d -n');
25+
});
26+
2327
task('deploy:pimcore:migrate:core', function() {
2428
run('{{bin/php}} {{bin/console}} pimcore:migrations:migrate -s pimcore_core -n');
2529
});

0 commit comments

Comments
 (0)