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
This commit is contained in:
Anton Gunnarsson
2025-09-01 09:05:32 +00:00
parent 87402a2092
commit 1673006169

View File

@@ -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: [