CI renamed deploy to review
This commit is contained in:
parent
d2cb821143
commit
2470145209
@ -1,7 +1,7 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
# - test
|
# - test
|
||||||
- deploy
|
- review
|
||||||
|
|
||||||
build_ui:
|
build_ui:
|
||||||
image: node
|
image: node
|
||||||
@ -25,30 +25,30 @@ build_ui:
|
|||||||
- index.html
|
- index.html
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
review:
|
||||||
image: mwienk/docker-lftp
|
image: mwienk/docker-lftp
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_ui
|
- build_ui
|
||||||
stage: deploy
|
stage: review
|
||||||
script:
|
script:
|
||||||
- cat index.html
|
- cat index.html
|
||||||
- mkdir _for_upload
|
- mkdir _for_upload
|
||||||
- mv assets build conf index.html _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"
|
- 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:
|
environment:
|
||||||
name: $CI_COMMIT_REF_NAME
|
name: review/$CI_COMMIT_REF_NAME
|
||||||
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
|
url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/
|
||||||
|
|
||||||
|
|
||||||
deploy_fullsync:
|
review_fullsync:
|
||||||
image: mwienk/docker-lftp
|
image: mwienk/docker-lftp
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_ui
|
- build_ui
|
||||||
stage: deploy
|
stage: review
|
||||||
script:
|
script:
|
||||||
- mkdir _for_upload
|
- mkdir _for_upload
|
||||||
- mv assets build conf index.html _for_upload
|
- mv assets build conf index.html _for_upload
|
||||||
|
Loading…
Reference in New Issue
Block a user