ci randomness

This commit is contained in:
Igor Loskutov
2025-09-04 11:58:22 -04:00
parent 3e629a1ace
commit 3170605d9a
2 changed files with 4 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ export function edgeDomainToKey(domain: string) {
export async function getConfig() { export async function getConfig() {
const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname; const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname;
if (isCI || isBuildPhase) { if (isCI) {
// "noop" // "noop"
return require("../../config-template").localConfig; return require("../../config-template").localConfig;
} }

View File

@@ -2,6 +2,9 @@
const nextConfig = { const nextConfig = {
output: "standalone", output: "standalone",
experimental: { esmExternals: "loose" }, experimental: { esmExternals: "loose" },
env: {
IS_CI: process.env.IS_CI,
},
}; };
module.exports = nextConfig; module.exports = nextConfig;