Skip to content

Commit c77e935

Browse files
authored
Merge pull request #4578 from ClickHouse/Blargian-patch-433578
Bug fix: use VERCEL_ENV variable rather than a custom one
2 parents aa0c5bb + 56d4f92 commit c77e935

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docusaurus.config.en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const config = {
200200
theme: {
201201
customCss: [require.resolve("./src/css/custom.scss")],
202202
},
203-
...(process.env.VERCEL_PREVIEW !== '1' && {
203+
...(process.env.VERCEL_ENV !== 'preview' && {
204204
googleTagManager: {
205205
containerId: 'GTM-WTNTDT7W',
206206
},

docusaurus.config.jp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const config = {
165165
theme: {
166166
customCss: [require.resolve("./src/css/custom.scss")],
167167
},
168-
...(process.env.VERCEL_PREVIEW !== '1' && {
168+
...(process.env.VERCEL_ENV !== 'preview' && {
169169
googleTagManager: {
170170
containerId: 'GTM-WTNTDT7W',
171171
},

docusaurus.config.ru.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const config = {
166166
theme: {
167167
customCss: [require.resolve("./src/css/custom.scss")],
168168
},
169-
...(process.env.VERCEL_PREVIEW !== '1' && {
169+
...(process.env.VERCEL_ENV !== 'preview' && {
170170
googleTagManager: {
171171
containerId: 'GTM-WTNTDT7W',
172172
},

docusaurus.config.zh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const config = {
165165
theme: {
166166
customCss: [require.resolve("./src/css/custom.scss")],
167167
},
168-
...(process.env.VERCEL_PREVIEW !== '1' && {
168+
...(process.env.VERCEL_ENV !== 'preview' && {
169169
googleTagManager: {
170170
containerId: 'GTM-WTNTDT7W',
171171
},

0 commit comments

Comments
 (0)