diff --git a/operations/2024_01_01_0000_register_webhook.php b/operations/2024_01_01_0000_register_webhook.php index 42c31a5..5548721 100644 --- a/operations/2024_01_01_0000_register_webhook.php +++ b/operations/2024_01_01_0000_register_webhook.php @@ -16,6 +16,11 @@ public function needBefore(): bool return false; } + public function shouldRun(): bool + { + return app()->isProduction(); + } + public function __invoke(): void { $this->artisan(RegisterWebhooks::class);