app->environment('production')) { \Illuminate\Support\Facades\Mail::alwaysTo('noone@example.com'); } Queue::after(function (JobProcessed $event) { // @TODO: Remove `coolify-builder` container after the remoteProcess job is finishged and remoteProcess->type == `deployment`. if ($event->job->resolveName() === CoolifyTask::class) { } }); } }