18 lines
401 B
YAML
18 lines
401 B
YAML
workflow:
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # main
|
|
- if: $CI_COMMIT_BRANCH =~ /^(fix|feat)\/.+/ # fix/* and feat/* branches
|
|
- if: $CI_COMMIT_TAG # version tags
|
|
|
|
stages:
|
|
- lint
|
|
- release
|
|
- dry-run
|
|
- apply
|
|
|
|
include:
|
|
- local: .cicd/globals.yml
|
|
- local: .cicd/lint.yml
|
|
- local: .cicd/release.yml
|
|
- local: .cicd/deploy.yml
|