From 80e4b3579507112814ece6990e5db0912394c1c2 Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Fri, 29 Jan 2021 18:35:08 +0000 Subject: [PATCH] another go at naming deploy jobs --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13c35ea..38370c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,8 @@ build: paths: - $BUILD_DIR -deploy-dev: &deploy - stage: deploy +.deploy-dev: + <<: *deploy rules: - if: $CI_COMMIT_BRANCH == "feature/cd" variables: @@ -34,8 +34,8 @@ deploy-dev: &deploy dependencies: - build -deploy-release: &deploy - stage: deploy +.deploy-release: + <<: *deploy rules: - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH ~= "feature/cd"