Skip to content

Commit

Permalink
feat: add AltLayer env vars sections
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-altr committed Mar 18, 2024
1 parent 58f8828 commit f2e5452
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/tools/envs-validator/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,10 @@ const schema = yup

// Misc
NEXT_PUBLIC_USE_NEXT_JS_PROXY: yup.boolean(),

// AltLayer-added variables
// NEXT_PUBLIC_HOMEPAGE_SHOW_GAS_TRACKER is still needed because our chart is on v1.24.1 and still includes this env by default
NEXT_PUBLIC_HOMEPAGE_SHOW_GAS_TRACKER: yup.boolean(),
})
.concat(accountSchema)
.concat(adsBannerSchema)
Expand Down
3 changes: 3 additions & 0 deletions docs/ENVS.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,3 +640,6 @@ For obtaining the variables values please refer to [reCAPTCHA documentation](htt
| Variable | Type| Description | Compulsoriness | Default value | Example value |
| --- | --- | --- | --- | --- | --- |
| NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY | `string` | Site key | - | - | `<your-secret>` |

# Dummy list (for AltLayer-added variables)
NEXT_PUBLIC_HOMEPAGE_SHOW_GAS_TRACKER

0 comments on commit f2e5452

Please sign in to comment.