From 1673006169952e59f8c9f006e89fecdf1a606664 Mon Sep 17 00:00:00 2001 From: Anton Gunnarsson Date: Mon, 1 Sep 2025 09:05:32 +0000 Subject: [PATCH] Merged in chore/set-branch-env-in-partner-sas (pull request #2737) chore: Add BRANCH and GIT_SHA to partner-sas * Add BRANCH and GIT_SHA to next config env setup Approved-by: Bianca Widstam --- apps/partner-sas/next.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/partner-sas/next.config.ts b/apps/partner-sas/next.config.ts index 799cb7033..5200f00f4 100644 --- a/apps/partner-sas/next.config.ts +++ b/apps/partner-sas/next.config.ts @@ -3,6 +3,10 @@ import * as Sentry from "@sentry/nextjs" import type { NextConfig } from "next" const nextConfig: NextConfig = { + env: { + BRANCH: process.env.BRANCH || "local", + GIT_SHA: process.env.COMMIT_REF || "", + }, poweredByHeader: false, trailingSlash: false, transpilePackages: [