diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5eef928502805cf18387e6693ec52b2345116d5..1c1d40f09931335f76f3be5474e4ac286be886af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,12 +34,21 @@ variables: - chmod 700 ~/.ssh stages: + - debug - build - publish - deploy - test-deployment - cleanup +debug: + stage: debug + script: + - echo $CI_COMMIT_BRANCH + - echo $MANUAL_FULL_DEPLOY_TESTING + - echo $CI_COMMIT_TAG + - echo $MANUAL_FULL_DEPLOY_PRODUCTION + build-custom-image: stage: build @@ -88,7 +97,7 @@ full-deploy-testing: light-deploy-testing: stage: deploy rules: - - if: ($CI_COMMIT_BRANCH == "main" && ($MANUAL_FULL_DEPLOY_TESTING == "" || $MANUAL_FULL_DEPLOY_TESTING == "false")) + - if: ($CI_COMMIT_BRANCH == "main" && $MANUAL_FULL_DEPLOY_TESTING !~ /true/ ) <<: *ssh_setup environment: Testing