Skip to content

Commit d64eeb1

Browse files
committed
chore(ci): update placeholders in CI configuration for Next.js build
- Modified environment variable comments to clarify their purpose for prerendering in Next.js. - Added a new placeholder for BETTER_AUTH_SECRET to ensure proper configuration during CI builds.
1 parent a57988c commit d64eeb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ jobs:
114114
permissions:
115115
contents: read
116116
env:
117-
# Placeholder so db client loads during Next.js build; routes that use DB are force-dynamic
117+
# Placeholders so Next.js build can prerender; not used for real requests
118118
DATABASE_URL: postgresql://localhost:5432/__build_placeholder__
119+
BETTER_AUTH_SECRET: __ci_build_placeholder_do_not_use_in_production__
119120
steps:
120121
- name: Checkout
121122
uses: actions/checkout@v6

0 commit comments

Comments
 (0)