An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: tag deployments
Andras Bacsai23a1b1925f6d
diff --git a/app/Livewire/Tags/Index.php b/app/Livewire/Tags/Index.phpindex 91e15835f1..2e3fbd8e04 100644--- a/app/Livewire/Tags/Index.php+++ b/app/Livewire/Tags/Index.php@@ -2,7 +2,7 @@namespace App\Livewire\Tags;-use App\Http\Controllers\Api\Deploy;+use App\Http\Controllers\Api\DeployController;use App\Models\Tag;use Illuminate\Support\Collection;use Livewire\Attributes\Url;@@ -51,11 +51,11 @@ class Index extends Component{try {$this->applications->each(function ($resource) {- $deploy = new Deploy();+ $deploy = new DeployController();$deploy->deploy_resource($resource);});$this->services->each(function ($resource) {- $deploy = new Deploy();+ $deploy = new DeployController();$deploy->deploy_resource($resource);});$this->dispatch('success', 'Mass deployment started.');diff --git a/app/Livewire/Tags/Show.php b/app/Livewire/Tags/Show.phpindex f4ecc67a00..ccd190c16f 100644--- a/app/Livewire/Tags/Show.php+++ b/app/Livewire/Tags/Show.php@@ -2,7 +2,7 @@namespace App\Livewire\Tags;-use App\Http\Controllers\Api\Deploy;+use App\Http\Controllers\Api\DeployController;use App\Models\ApplicationDeploymentQueue;use App\Models\Tag;use Livewire\Component;@@ -59,11 +59,11 @@ class Show extends Componenttry {$message = collect([]);$this->applications->each(function ($resource) use ($message) {- $deploy = new Deploy();+ $deploy = new DeployController();$message->push($deploy->deploy_resource($resource));});$this->services->each(function ($resource) use ($message) {- $deploy = new Deploy();+ $deploy = new DeployController();$message->push($deploy->deploy_resource($resource));});$this->dispatch('success', 'Mass deployment started.');