Skip to content
Snippets Groups Projects

Refactor deployment

Open Kalin Daskalov requested to merge refactor-deployment into main
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
+ 5
2
@@ -51,7 +51,8 @@ build-dev:
tags:
- $RUNNER_AMD
rules:
- if: '$CI_COMMIT_BRANCH != "main" && $CI_PIPELINE_SOURCE != "merge_request_event"'
# Only run if the branch is not main, the pipeline is not triggered by a merge request and the commit is not a tag
- if: '$CI_COMMIT_BRANCH != "main" && $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_TAG == null'
build-stg:
extends: .docker-build-dev
@@ -67,7 +68,9 @@ deploy-dev:
needs:
- job: build-dev
rules:
- if: '$CI_COMMIT_BRANCH != "main" && $CI_PIPELINE_SOURCE != "merge_request_event"'
# Only run if the branch is not main, the pipeline is not triggered by a merge request and the commit is not a tag
- if: '$CI_COMMIT_BRANCH != "main" && $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_TAG == null'
deploy-stg:
extends: .deploy-stg
Loading