diff --git a/src/config.ts b/src/config.ts index 45026c4..cab29be 100644 --- a/src/config.ts +++ b/src/config.ts @@ -78,16 +78,8 @@ export const config = { process.env.TEMPLATES_GIT_URL, "https://github.com/incubateur-ademe/legal-site-templates-test", ), - // gpgPrivateKey: ensureApiEnvVar(process.env.TEMPLATES_GIT_GPG_PRIVATE_KEY, ""), - get gpgPrivateKey() { - console.warn("TEMPLATES_GIT_GPG_PRIVATE_KEY is not supported yet"); - return ""; - }, - // gpgPassphrase: ensureApiEnvVar(process.env.TEMPLATES_GIT_GPG_PASSPHRASE, ""), - get gpgPassphrase() { - console.warn("TEMPLATES_GIT_GPG_PASSPHRASE is not supported yet"); - return ""; - }, + gpgPrivateKey: ensureApiEnvVar(process.env.TEMPLATES_GIT_GPG_PRIVATE_KEY, ""), + gpgPassphrase: ensureApiEnvVar(process.env.TEMPLATES_GIT_GPG_PASSPHRASE, ""), committer: { email: ensureApiEnvVar(process.env.TEMPLATES_GIT_COMMITTER_EMAIL, "bot@email.com"), name: ensureApiEnvVar(process.env.TEMPLATES_GIT_COMMITTER_NAME, "Bot"),