Skip to content

Commit 13815b4

Browse files
committed
fixup!
1 parent 69961c8 commit 13815b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# Used for API requests that require GitHub API scopes
106106
NEXT_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
107107
# Codecov
108-
ANALYZE: ${{ matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group' }}
108+
NEXT_PUBLIC_ANALYZE: ${{ matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group' }}
109109

110110
- name: Build Next.js (Static All Locales)
111111
# We only run full static builds within Pull Requests. This step is also used to export

apps/site/next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const nextConfig = {
9898
],
9999
},
100100
webpack: (config, options) => {
101-
if (process.env.ANALYZE) {
101+
if (process.env.NEXT_PUBLIC_ANALYZE) {
102102
config.plugins.push(
103103
codecovNextJSWebpackPlugin({
104104
enableBundleAnalysis: true,

0 commit comments

Comments
 (0)