diff --git a/README.md b/README.md index 27566cc67..e45b60b83 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Special thanks to our biggest sponsors! fractal logo advin logo trieve logo -blacksmith logo +blacksmith logo ## Github Sponsors ($40+) SerpAPI diff --git a/app/Models/Project.php b/app/Models/Project.php index 1cbce6cac..1f39aa725 100644 --- a/app/Models/Project.php +++ b/app/Models/Project.php @@ -117,7 +117,7 @@ class Project extends BaseModel { $default = $this->environments()->where('name', 'production')->first(); if (! $default) { - $default = $this->environments()->sortBy('created_at')->first(); + $default = $this->environments()->get()->sortBy('created_at')->first(); } return $default; diff --git a/bootstrap/helpers/applications.php b/bootstrap/helpers/applications.php index df891b824..1a08a46eb 100644 --- a/bootstrap/helpers/applications.php +++ b/bootstrap/helpers/applications.php @@ -46,11 +46,11 @@ function queue_application_deployment(Application $application, string $deployme if ($no_questions_asked) { dispatch(new ApplicationDeploymentJob( application_deployment_queue_id: $deployment->id, - )); + ))->onQueue('high'); } elseif (next_queuable($server_id, $application_id)) { dispatch(new ApplicationDeploymentJob( application_deployment_queue_id: $deployment->id, - )); + ))->onQueue('high'); } } function force_start_deployment(ApplicationDeploymentQueue $deployment) @@ -61,7 +61,7 @@ function force_start_deployment(ApplicationDeploymentQueue $deployment) dispatch(new ApplicationDeploymentJob( application_deployment_queue_id: $deployment->id, - )); + ))->onQueue('high'); } function queue_next_deployment(Application $application) { @@ -74,7 +74,7 @@ function queue_next_deployment(Application $application) dispatch(new ApplicationDeploymentJob( application_deployment_queue_id: $next_found->id, - )); + ))->onQueue('high'); } } @@ -115,7 +115,7 @@ function next_after_cancel(?Server $server = null) dispatch(new ApplicationDeploymentJob( application_deployment_queue_id: $next->id, - )); + ))->onQueue('high'); } break; } diff --git a/config/sentry.php b/config/sentry.php index caa659921..7eca9d5a2 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.298', + 'release' => '4.0.0-beta.299', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index ddcd3f2d4..4f0307e2d 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@ + + + + + + + + + + + + + + + + diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index 395b03ff4..7910d2eb2 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -61,8 +61,7 @@ @endif