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 d03fbf1 commit 16f8c9cCopy full SHA for 16f8c9c
.github/workflows/deploy.yml
@@ -9,6 +9,8 @@ jobs:
9
build:
10
name: Build Docusaurus
11
runs-on: ubuntu-latest
12
+ env:
13
+ NODE_ENV: production
14
steps:
15
- uses: actions/checkout@v4
16
with:
docusaurus.config.ts
@@ -13,8 +13,7 @@ import versions from './versions.json';
const isDev = process.env.NODE_ENV === 'development';
const isBuildFast = isDev || !!process.env.BUILD_FAST;
-const isProd =
17
- process.env.CURRENT_BRANCH === 'main' && process.env.CONTEXT === 'production';
+const isProd = process.env.NODE_ENV === 'production';
18
19
const config: Config = {
20
organizationName: 'someengineering',
0 commit comments