From 5cf3affcd8bd4d3b3c3866ef65bdad9bc168d5c5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 14 Apr 2020 13:20:07 -0500 Subject: [PATCH] Add build:production to gitlab-ci --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27ad2eb60..851aedfe3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,17 @@ i18n: build-development: stage: build script: yarn build:development + variables: + NODE_ENV: development + artifacts: + paths: + - public/packs + +build-production: + stage: build + script: yarn build:production + variables: + NODE_ENV: production artifacts: paths: - public/packs