refactoring

This commit is contained in:
Saeed Vaziry
2023-08-04 18:28:04 +02:00
parent 8444323cf4
commit 643318fcfc
349 changed files with 3189 additions and 2729 deletions

View File

@ -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