Skip to content

Commit

Permalink
feat: add LEGO_CERT_PEM_PATH and LEGO_CERT_PFX_PATH to run hook (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
speshak authored May 2, 2023
1 parent c2e4749 commit dfcf441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/cmd_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ func run(ctx *cli.Context) error {
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"),
}

return launchHook(ctx.String("run-hook"), meta)
Expand Down

0 comments on commit dfcf441

Please sign in to comment.