Skip to content

Commit

Permalink
feat: add possibility to disable health report per host, resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongerig committed Nov 9, 2022
1 parent fb865b7 commit 7b66fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployer/monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

namespace Deployer;

desc('Runs the health report');
desc('Runs the health report, if not disabled');
task('pimcore:monitor:health-report', static function () {
run('cd {{release_path}} && {{bin/console}} pimcore:monitor:health-report');
});
})->select('disable!=monitor_health_report');

task('pimcore:monitor', [
'pimcore:monitor:health-report',
Expand Down

0 comments on commit 7b66fbe

Please sign in to comment.