From 8fda9a2ad98a6b7e8f5b5bb5039c9d0b3e89aace Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 31 Aug 2017 20:43:08 +0200 Subject: [PATCH] test CI artifacts --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a44c534..35e3fe9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: # - test - deploy -building_ui: +build_ui: image: node tags: - docker @@ -17,11 +17,22 @@ building_ui: - git submodule update --init - npm install - npm run build + artifacts: + name: "basispanel-ui-$CI_COMMIT_REF_NAME" + expire_in: 1 week + paths: + - assets + - build + - conf + - index.html + deploy_master: image: mwienk/docker-lftp tags: - docker + dependencies: + - build_ui stage: deploy script: - ls -lh