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:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user