script = $this->site->deploymentScript->content; } public function save(): void { app(UpdateDeploymentScript::class)->update($this->site, $this->all()); session()->flash('status', 'script-updated'); $this->emitTo(Deploy::class, '$refresh'); } public function render(): View { return view('livewire.application.deployment-script'); } }