refactoring

This commit is contained in:
Saeed Vaziry
2023-08-06 17:36:39 +02:00
parent 643318fcfc
commit a8295e15c3
28 changed files with 239 additions and 66 deletions

View File

@ -125,7 +125,7 @@ public function deployKey(string $title, string $repo, string $key): void
$response = Http::withToken($this->sourceControl->access_token)->post(
$this->apiUrl.'/projects/'.$repository.'/deploy_keys',
[
'title' => 'deploy-key',
'title' => $title,
'key' => $key,
'can_push' => true,
]