Skip to content

Commit f6408cb

Browse files
committed
chore: update to use public env var for preview deploy
1 parent ebc74b8 commit f6408cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ NEXT_PUBLIC_MATOMO_URL=
3131
NEXT_PUBLIC_MATOMO_SITE_ID=
3232

3333
# Used to avoid loading Matomo in our preview deploys
34-
IS_PREVIEW_DEPLOY=false
34+
NEXT_PUBLIC_IS_PREVIEW_DEPLOY=false
3535

3636
# Build pages only for the specified langs. Leave it empty to build all the langs
3737
# e.g. `en,fr` will only build English and French pages

docs/ab-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ NEXT_PUBLIC_MATOMO_SITE_ID=4
165165
MATOMO_API_TOKEN=your_api_token_here
166166

167167
# Preview mode flag
168-
IS_PREVIEW_DEPLOY=false
168+
NEXT_PUBLIC_IS_PREVIEW_DEPLOY=false
169169
```
170170

171171
## Best Practices

0 commit comments

Comments
 (0)