fix: PR deployments should not be distributed to 2 servers
This commit is contained in:
parent
6045870398
commit
07ed550dc2
@ -898,6 +898,9 @@ private function deploy_to_additional_destinations()
|
||||
if ($this->application->additional_networks->count() === 0) {
|
||||
return;
|
||||
}
|
||||
if ($this->pull_request_id !== 0) {
|
||||
return;
|
||||
}
|
||||
$destination_ids = $this->application->additional_networks->pluck('id');
|
||||
if ($this->server->isSwarm()) {
|
||||
$this->application_deployment_queue->addLogEntry("Additional destinations are not supported in swarm mode.");
|
||||
|
Loading…
Reference in New Issue
Block a user