From ba823bb116a0351046d05de4e0f6f264407528b6 Mon Sep 17 00:00:00 2001 From: Jarmo Isotalo Date: Fri, 24 Jul 2020 08:50:15 +0300 Subject: [PATCH] Also detect VERCEL_BUILDER should Vercel one day use it as per the docs (#25926) --- packages/gatsby-core-utils/src/ci.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gatsby-core-utils/src/ci.ts b/packages/gatsby-core-utils/src/ci.ts index 567c1d85a888a..acf5144974b46 100644 --- a/packages/gatsby-core-utils/src/ci.ts +++ b/packages/gatsby-core-utils/src/ci.ts @@ -6,6 +6,7 @@ const CI_DEFINITIONS = [ getEnvDetect({ key: `NOW_REGION`, name: `ZEIT Now v1` }), getEnvDetect({ key: `VERCEL_URL`, name: `Vercel Now` }), getEnvDetect({ key: `NOW_BUILDER`, name: `Vercel Now` }), + getEnvDetect({ key: `VERCEL_BUILDER`, name: `Vercel Now` }), herokuDetect, getEnvFromCIInfo, envFromCIWithNoName,