Do not invoke healthcheck on deploy when no web role

This commit is contained in:
Yoel Cabo
2023-11-14 11:29:07 +01:00
parent 87cb8c1f71
commit 887b7dd46d
5 changed files with 27 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ class Kamal::Commands::Healthcheck < Kamal::Commands::Base
def run
web = config.role(:web)
return unless web.present?
docker :run,
"--detach",