public function presentTimelineCssClass()
{
if ($this->status === Deployment::COMPLETED || $this->status === Deployment::COMPLETED_WITH_ERRORS) {
return 'green';
} elseif (in_array($this->status, [Deployment::FAILED, Deployment::ABORTING, Deployment::ABORTED], true)) {
return 'red';
} elseif ($this->status === Deployment::DEPLOYING) {
return 'yellow';
}
return 'aqua';
}