Add KAMAL_SERVICE to custom hooks and exclude from auditor

This commit is contained in:
Nick Hammond
2024-06-27 10:52:55 -06:00
parent f1f3fc566f
commit 58a51b079e
2 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ class Kamal::Commands::Auditor < Kamal::Commands::Base
# Runs remotely
def record(line, **details)
append \
[ :echo, audit_tags(**details).except(:version, :service_version).to_s, line ],
[ :echo, audit_tags(**details).except(:version, :service_version, :service).to_s, line ],
audit_log_file
end