We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d826020 commit 820cdbaCopy full SHA for 820cdba
scripts/generate-md-exports.mjs
@@ -25,7 +25,9 @@ import {unified} from 'unified';
25
import {remove} from 'unist-util-remove';
26
27
const CACHE_COMPRESS_LEVEL = 4;
28
-const R2_BUCKET = 'sentry-docs';
+const R2_BUCKET = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
29
+ ? 'sentry-dev-docs'
30
+ : 'sentry-docs';
31
const accessKeyId = process.env.R2_ACCESS_KEY_ID;
32
const secretAccessKey = process.env.R2_SECRET_ACCESS_KEY;
33
0 commit comments