diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-16 16:56:36 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-16 16:56:36 +0000 |
| commit | 0da1f8710e5f1688368c0196c17dc3ff016d1c37 (patch) | |
| tree | 25f8ae0d255ab87bfaf7f1f6c7e397e03be528db | |
| parent | e119eb62e80e6b500dcfc9c459f4f680b405192f (diff) | |
adds SENDMAIL_BIN env var
| -rw-r--r-- | website/astro.config.mjs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs index d0fb568..f1fc430 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -1,4 +1,4 @@ -import { defineConfig } from "astro/config"; +import { defineConfig, envField } from "astro/config"; import mdx from "@astrojs/mdx"; import node from "@astrojs/node"; @@ -9,6 +9,11 @@ export default defineConfig({ adapter: node({ mode: "standalone", }), + env: { + schema: { + SENDMAIL_BIN: envField.string({ context: "server", access: "secret" }), + }, + }, site: "https://joeac.net", integrations: [mdx(), sitemap()], }); |
