add auto-deployment (#71)

add update source-control to site-settings
This commit is contained in:
Saeed Vaziry
2023-10-29 22:20:15 +01:00
committed by GitHub
parent 700cc5f44c
commit 1bf3c94358
33 changed files with 384 additions and 126 deletions

View File

@ -59,7 +59,7 @@ public function deployHook(string $repo, array $events, string $secret): array
'name' => 'web',
'events' => $events,
'config' => [
'url' => url('/git-hooks?secret='.$secret),
'url' => url('/api/git-hooks?secret='.$secret),
'content_type' => 'json',
],
'active' => true,