fix(deployment): correct syntax for else statement in docker compose build command
This commit is contained in:
		@@ -509,7 +509,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            if ($this->force_rebuild) {
 | 
					            if ($this->force_rebuild) {
 | 
				
			||||||
                $command .= " --project-name {$this->application->uuid} --project-directory {$this->workdir} -f {$this->workdir}{$this->docker_compose_location} build --pull --no-cache";
 | 
					                $command .= " --project-name {$this->application->uuid} --project-directory {$this->workdir} -f {$this->workdir}{$this->docker_compose_location} build --pull --no-cache";
 | 
				
			||||||
            else
 | 
					            } else {
 | 
				
			||||||
                $command .= " --project-name {$this->application->uuid} --project-directory {$this->workdir} -f {$this->workdir}{$this->docker_compose_location} build --pull";
 | 
					                $command .= " --project-name {$this->application->uuid} --project-directory {$this->workdir} -f {$this->workdir}{$this->docker_compose_location} build --pull";
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            $this->execute_remote_command(
 | 
					            $this->execute_remote_command(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user