Skip to content

Commit

Permalink
refactor: change structure of deployer recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Gerig committed Feb 8, 2022
1 parent d565120 commit 722fbe1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions deployer/monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@

namespace Deployer;

desc('Runs the health report');
task('pimcore:monitor:health-report', static function () {
run("cd {{release_path}} && {{bin/console}} pimcore:monitor:health-report");
run('cd {{release_path}} && {{bin/console}} pimcore:monitor:health-report');
});

after('deploy:success', 'pimcore:monitor:health-report');
task('pimcore:monitor', [
'pimcore:monitor:health-report',
]);

after('deploy:success', 'pimcore:monitor');

0 comments on commit 722fbe1

Please sign in to comment.