From: Dan Allen Date: Wed, 3 Jan 2018 01:25:18 +0000 (-0700) Subject: keep UI bundle in upstream master; automatically expire for non-master X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7f54f86c2339d43f0c961953f974c021b933fc97;p=eg-antora.git keep UI bundle in upstream master; automatically expire for non-master --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3298198..87076f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,16 +18,30 @@ lint: paths: - node_modules/ script: node_modules/.bin/gulp lint -bundle: +bundle-stable: stage: deploy + only: + - master@antora/antora-ui-default + cache: + policy: pull + paths: + - node_modules/ + script: node_modules/.bin/gulp pack + artifacts: + paths: + - build/ui-bundle.zip +bundle-dev: + stage: deploy + except: + - master 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 + # automatically expire unless marked "keep" from job page + expire_in: 1 day paths: - build/ui-bundle.zip pages: