auto updates

This commit is contained in:
Andras Bacsai
2023-05-22 12:00:59 +02:00
parent 8f7fd4295e
commit e00ccf65cf
15 changed files with 147 additions and 38 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Livewire\Project\Application;
use App\Jobs\ContainerStatusJob;
use App\Jobs\DeployApplicationJob;
use App\Models\Application;
use Illuminate\Support\Facades\Route;
@@ -26,6 +27,7 @@ class Deploy extends Component
$this->parameters = getParameters();
$this->application = Application::where('id', $this->applicationId)->first();
$this->destination = $this->application->destination->getMorphClass()::where('id', $this->application->destination->id)->first();
dispatch(new ContainerStatusJob($this->application->uuid));
}
protected function setDeploymentUuid()
{