feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)

This commit is contained in:
Austen 2024-07-25 14:25:06 -05:00 committed by GitHub
parent db2ab55cdd
commit fa7cf5cd4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}