From fa7cf5cd4f487195d42634590e5d64c3b83c3bf2 Mon Sep 17 00:00:00 2001 From: Austen Date: Thu, 25 Jul 2024 14:25:06 -0500 Subject: [PATCH] feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234) --- cmd/cmd_run.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cmd/cmd_run.go b/cmd/cmd_run.go index 10bd0cbc..c5d13461 100644 --- a/cmd/cmd_run.go +++ b/cmd/cmd_run.go @@ -113,13 +113,10 @@ func run(ctx *cli.Context) error { meta := map[string]string{ renewEnvAccountEmail: account.Email, - renewEnvCertDomain: cert.Domain, - renewEnvCertPath: certsStorage.GetFileName(cert.Domain, ".crt"), - renewEnvCertKeyPath: certsStorage.GetFileName(cert.Domain, ".key"), - renewEnvCertPEMPath: certsStorage.GetFileName(cert.Domain, ".pem"), - renewEnvCertPFXPath: certsStorage.GetFileName(cert.Domain, ".pfx"), } + addPathToMetadata(meta, cert.Domain, cert, certsStorage) + return launchHook(ctx.String("run-hook"), meta) }