Netzli Docs

Build variables

Build variables, set in the project's Einstellungen tab, reach the dependency install and the build command as environment variables. They win over the same names in mise.toml, and mise.toml can use them:

mise.toml
[env]
API_URL = "{{env.API_HOST}}/v1"

Everything your build writes into the site is public. A variable that ends up in your JavaScript, such as an API address, is visible to every visitor. Only use secrets, such as NPM_TOKEN, where the install or the build command needs them and they never reach the output folder.

Netzli sets CI, HOME, PATH and TMPDIR itself, and names starting with NETZLI_ or MISE_ are reserved.