mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 06:26:16 +00:00
Fix auto-deployment branch (#506)
This commit is contained in:
@ -176,4 +176,9 @@ public function getApiUrl(): string
|
||||
|
||||
return $host.$this->apiVersion;
|
||||
}
|
||||
|
||||
public function getWebhookBranch(array $payload): string
|
||||
{
|
||||
return $payload['ref'] ?? '';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user