From 11f43ca65c0b60d0105fed908b203702a38ed7b9 Mon Sep 17 00:00:00 2001 From: benzntech Date: Mon, 2 Mar 2026 22:50:33 +0530 Subject: [PATCH] fix: add JWT_SECRET env to electron release build step The Next.js build in electron-release.yml fails because the secrets validator detects missing JWT_SECRET and exits with code 1. This adds the env var to the build step, matching the pattern used in ci.yml. --- .github/workflows/electron-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/electron-release.yml b/.github/workflows/electron-release.yml index d5995e883f..363950d746 100644 --- a/.github/workflows/electron-release.yml +++ b/.github/workflows/electron-release.yml @@ -89,6 +89,8 @@ jobs: run: npm ci - name: Build Next.js standalone + env: + JWT_SECRET: ci-build-secret-with-sufficient-length-for-validation run: npm run build - name: Install Electron dependencies