mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 00:42:34 +00:00
refactoring
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
use App\Jobs\Job;
|
||||
use App\Models\Site;
|
||||
use App\SSHCommands\CloneRepositoryCommand;
|
||||
use App\SSHCommands\Website\CloneRepositoryCommand;
|
||||
use Throwable;
|
||||
|
||||
class CloneRepository extends Job
|
||||
@ -25,7 +25,8 @@ public function handle(): void
|
||||
new CloneRepositoryCommand(
|
||||
$this->site->full_repository_url,
|
||||
$this->site->path,
|
||||
$this->site->branch
|
||||
$this->site->branch,
|
||||
$this->site->ssh_key_name
|
||||
),
|
||||
'clone-repository',
|
||||
$this->site->id
|
||||
|
Reference in New Issue
Block a user