diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd3f990..6b200ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ build_ui: - index.html -review: +start_review: image: mwienk/docker-lftp tags: - docker @@ -40,6 +40,22 @@ review: environment: name: review/$CI_COMMIT_REF_NAME url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/ + on_stop: stop_review + +stop_review: + image: mwienk/docker-lftp + tags: + - docker + stage: review + variables: + GIT_STRATEGY: none + script: + - echo stopping env + environment: + name: review/$CI_COMMIT_REF_NAME + action: stop + when: manual + review_fullsync: