ci randomness

This commit is contained in:
Igor Loskutov
2025-09-04 12:08:01 -04:00
parent 41c92b8aeb
commit 669ebe74d8

View File

@@ -32,6 +32,14 @@ export function edgeDomainToKey(domain: string) {
export async function getConfig() {
const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname;
console.log("DEBUG: CI env vars:", {
CI: process.env.CI,
IS_CI: process.env.IS_CI,
isCI,
NEXT_PHASE: process.env.NEXT_PHASE,
isBuildPhase,
});
if (isCI) {
// "noop"
return require("../../config-template").localConfig;