CI renamed deploy to review

This commit is contained in:
Sebastian Frank 2017-09-06 10:39:21 +02:00
parent d2cb821143
commit 2470145209

View File

@ -1,7 +1,7 @@
stages:
- build
# - test
- deploy
- review
build_ui:
image: node
@ -25,30 +25,30 @@ build_ui:
- index.html
deploy:
review:
image: mwienk/docker-lftp
tags:
- docker
dependencies:
- build_ui
stage: deploy
stage: review
script:
- cat index.html
- mkdir _for_upload
- mv assets build conf index.html _for_upload
- lftp -c "set sftp:auto-confirm yes; open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -n -e -R -L _for_upload/ /$CI_COMMIT_REF_NAME"
environment:
name: $CI_COMMIT_REF_NAME
name: review/$CI_COMMIT_REF_NAME
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
deploy_fullsync:
review_fullsync:
image: mwienk/docker-lftp
tags:
- docker
dependencies:
- build_ui
stage: deploy
stage: review
script:
- mkdir _for_upload
- mv assets build conf index.html _for_upload