site = $site; } /** * @throws Throwable */ public function handle(): void { $this->site->server->ssh()->exec( new CloneRepositoryCommand( $this->site->full_repository_url, $this->site->path, $this->site->branch ), 'clone-repository', $this->site->id ); } }