From ea8f43a9d324cf5ca5c7f4141bab0c40b98f0567 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 2 Jan 2018 17:28:05 -0700 Subject: [PATCH] add job to CI pipeline to publish UI bundle --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16a5c8a..979f0c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,10 +19,22 @@ lint: paths: - node_modules/ script: node_modules/.bin/gulp lint +bundle: + stage: deploy + cache: + policy: pull + paths: + - node_modules/ + script: node_modules/.bin/gulp pack + artifacts: + # automatically expire unless marked as keep from the job page + expire_in: 1 week + paths: + - build/ui-bundle.zip pages: stage: deploy only: - - master + - master@antora/antora-ui-default cache: policy: pull paths: -- 2.11.0