From 6b6c041d849c340f6d802bb00fb8ea2c661e0bbd Mon Sep 17 00:00:00 2001 From: skeris Date: Fri, 29 Dec 2023 19:19:28 +0300 Subject: [PATCH] -- --- .gitlab-ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2413a5..76452a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,25 +2,6 @@ stages: - build - deploy - -clean-old: - stage: clean - image: - name: docker/compose:1.28.0 - entrypoint: [""] - allow_failure: true - variables: - PRODUCTION_BRANCH: main - STAGING_BRANCH: "staging" - DEPLOY_TO: "staging" - rules: - - if: $CI_COMMIT_BRANCH == $PRODUCTION_BRANCH || $CI_COMMIT_BRANCH == $STAGING_BRANCH - when: on_success - before_script: - - echo DEPLOY_TO = $DEPLOY_TO - script: - - docker-compose -f deployments/$DEPLOY_TO/docker-compose.yaml down --volumes --rmi local - build-app: stage: build image: