mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
ci randomness
This commit is contained in:
@@ -32,6 +32,14 @@ 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;
|
||||||
|
|
||||||
|
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) {
|
if (isCI) {
|
||||||
// "noop"
|
// "noop"
|
||||||
return require("../../config-template").localConfig;
|
return require("../../config-template").localConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user