CI renamed deploy to review
This commit is contained in:
parent
d2cb821143
commit
2470145209
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user