test CI artifacts

This commit is contained in:
Sebastian Frank 2017-08-31 20:43:08 +02:00
parent 0a5eacc93a
commit 8fda9a2ad9
No known key found for this signature in database
GPG Key ID: DC2BC5C506EBF6F3

View File

@ -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