docs/contrib/sentry.md
require 'contrib/sentry.php';
deploy.php
set('sentry', [
'organization' => 'exampleorg',
'projects' => [
'exampleproj'
],
'token' => 'd47828...',
'version' => '0.0.1',
]);
Since you should only notify Sentry of a successful deployment, the deploy:sentry task should be executed right at the end.
deploy.php
after('deploy', 'deploy:sentry');