mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 16:14:12 +00:00
fix(ci): add CRON_SECRET placeholder for production build
Next.js builds run in NODE_ENV=production which triggers env validation requiring CRON_SECRET (added by security hardening). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4e3710655e
commit
a21f916300
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -212,13 +212,14 @@ jobs:
|
|||
- name: Build application
|
||||
run: pnpm build
|
||||
env:
|
||||
# Minimal env vars for build
|
||||
# Minimal env vars for build (Next.js runs in NODE_ENV=production)
|
||||
PAYLOAD_SECRET: build-secret-placeholder
|
||||
DATABASE_URI: postgresql://placeholder:placeholder@localhost:5432/placeholder
|
||||
NEXT_PUBLIC_SERVER_URL: https://build.example.com
|
||||
PAYLOAD_PUBLIC_SERVER_URL: https://build.example.com
|
||||
CONSENT_LOGGING_API_KEY: ci-consent-api-key-placeholder
|
||||
IP_ANONYMIZATION_PEPPER: ci-anonymization-pepper-placeholder
|
||||
CRON_SECRET: ci-cron-secret-placeholder
|
||||
|
||||
- name: Verify build output
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue