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 # - test
- deploy - deploy
building_ui: build_ui:
image: node image: node
tags: tags:
- docker - docker
@ -17,11 +17,22 @@ building_ui:
- git submodule update --init - git submodule update --init
- npm install - npm install
- npm run build - npm run build
artifacts:
name: "basispanel-ui-$CI_COMMIT_REF_NAME"
expire_in: 1 week
paths:
- assets
- build
- conf
- index.html
deploy_master: deploy_master:
image: mwienk/docker-lftp image: mwienk/docker-lftp
tags: tags:
- docker - docker
dependencies:
- build_ui
stage: deploy stage: deploy
script: script:
- ls -lh - ls -lh