another go at naming deploy jobs
This commit is contained in:
parent
0ca78c06d4
commit
80e4b35795
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue