another go at naming deploy jobs

This commit is contained in:
Cat Flynn 2021-01-29 18:35:08 +00:00
parent 0ca78c06d4
commit 80e4b35795
1 changed files with 4 additions and 4 deletions

View File

@ -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"