test CI artifacts
This commit is contained in:
parent
0a5eacc93a
commit
8fda9a2ad9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user