Skip to content

Commit fa7cf5c

Browse files
authored
feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)
1 parent db2ab55 commit fa7cf5c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cmd/cmd_run.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,10 @@ func run(ctx *cli.Context) error {
113113

114114
meta := map[string]string{
115115
renewEnvAccountEmail: account.Email,
116-
renewEnvCertDomain: cert.Domain,
117-
renewEnvCertPath: certsStorage.GetFileName(cert.Domain, ".crt"),
118-
renewEnvCertKeyPath: certsStorage.GetFileName(cert.Domain, ".key"),
119-
renewEnvCertPEMPath: certsStorage.GetFileName(cert.Domain, ".pem"),
120-
renewEnvCertPFXPath: certsStorage.GetFileName(cert.Domain, ".pfx"),
121116
}
122117

118+
addPathToMetadata(meta, cert.Domain, cert, certsStorage)
119+
123120
return launchHook(ctx.String("run-hook"), meta)
124121
}
125122

0 commit comments

Comments
 (0)