updates
This commit is contained in:
@@ -20,12 +20,20 @@ class Deploy extends Component
|
||||
protected array $command = [];
|
||||
protected $source;
|
||||
|
||||
protected $listeners = [
|
||||
'applicationStatusChanged' => 'applicationStatusChanged',
|
||||
];
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->parameters = get_parameters();
|
||||
$this->application = Application::where('id', $this->applicationId)->first();
|
||||
$this->destination = $this->application->destination->getMorphClass()::where('id', $this->application->destination->id)->first();
|
||||
}
|
||||
public function applicationStatusChanged()
|
||||
{
|
||||
$this->application->refresh();
|
||||
}
|
||||
protected function set_deployment_uuid()
|
||||
{
|
||||
// Create Deployment ID
|
||||
|
||||
Reference in New Issue
Block a user