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

Commit

Permalink
Merge pull request #7 from polargold/master
Browse files Browse the repository at this point in the history
Add custom layouts rebuild command
  • Loading branch information
aarongerig authored May 12, 2020
2 parents 0c05f8e + d4a9d40 commit fb0feb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@
'deploy:pimcore:migrate',
'deploy:clear_paths',
'deploy:pimcore:rebuild-classes',
'deploy:pimcore:custom-layouts-rebuild',
'deploy:symlink',
'deploy:unlock',
'cleanup',
'success'
])->desc('Deploy your project');

// [Optional] if deploy fails automatically unlock.
after('deploy:failed', 'deploy:unlock');
after('deploy:failed', 'deploy:unlock');
4 changes: 4 additions & 0 deletions recipes/pimcore.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
run('{{bin/php}} {{bin/console}} pimcore:deployment:classes-rebuild -c -d -n');
});

task('deploy:pimcore:custom-layouts-rebuild', function () {
run('{{bin/php}} {{bin/console}} pimcore:deployment:custom-layouts-rebuild -c -d -n');
});

task('deploy:pimcore:migrate:core', function() {
run('{{bin/php}} {{bin/console}} pimcore:migrations:migrate -s pimcore_core -n');
});
Expand Down

0 comments on commit fb0feb3

Please sign in to comment.