From 4bbe47a7d4f8d355455b3fc6e6c659ee8aacd782 Mon Sep 17 00:00:00 2001 From: James Tharpe <james.tharpe1@t-mobile.com> Date: Tue, 14 Jan 2020 08:58:15 -0800 Subject: [PATCH] get that pages url --- .gitlab-ci.yml | 1 + gatsby-config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62f2a6b..0a37a13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ variables: build: stage: build script: + - CI=true - npm install - gatsby build --prefix-paths artifacts: diff --git a/gatsby-config.js b/gatsby-config.js index 24d0909..cd327a8 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,5 +1,5 @@ module.exports = { - pathPrefix:`.env.${process.env.CI_PAGES_URL}`, + pathPrefix: "${CI_PAGES_URL}", siteMetadata: { title: `Gatsby Default Starter`, description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, -- GitLab