diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d6874226e84cab55e1ba1572e3146649809a6d6..8acccbe70f49ec4b59770d47b14b938af12b7a17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ stages: - codestyle - test - build - - review - deploy cache: @@ -49,35 +48,6 @@ ngbuild: paths: - "$BUILD_DIR" -review: - stage: review - script: - - rsync -av --delete "$BUILD_DIR" /srv/nginx/pages/$CI_BUILD_REF_SLUG - environment: - name: review/$CI_BUILD_REF_NAME - url: http://$CI_BUILD_REF_SLUG.$REVIEW_SERVER_URL - on_stop: stop_review - only: - - branches - except: - - master - tags: - - nginx - -stop_review: - stage: review - script: - - rm -rf "$BUILD_DIR" /srv/nginx/pages/$CI_BUILD_REF_SLUG - variables: - GIT_STRATEGY: none - when: manual - environment: - name: review/$CI_BUILD_REF_NAME - action: stop - tags: - - nginx - - deploy: stage: deploy only: