diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 18f659629..c26450955 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -154,7 +154,7 @@ private function deploy() $this->clone_repository(); $tag = Str::of("{$this->commit}-{$this->application->id}-{$this->pull_request_id}"); - if ($tag->count() > 128) { + if (strlen($tag) > 128) { $tag = $tag->substr(0, 128); };