Skip to content

Commit

Permalink
feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvpcs authored Jul 25, 2024
1 parent db2ab55 commit fa7cf5c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cmd/cmd_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit fa7cf5c

Please sign in to comment.