Correct name of the pipeline source

This commit is contained in:
Greg Hellings
2025-08-08 16:28:52 -05:00
parent 86f7176e26
commit c81762bbf5
+5 -5
View File
@@ -9,7 +9,7 @@ version_update:
tags:
- nix
rules:
- if: '$CI_PIPELINE_SOURCE == "manual"'
- if: '$CI_PIPELINE_SOURCE == "web"'
artifacts:
reports:
dotenv: update.env
@@ -38,7 +38,7 @@ create_pr:
GIT_STRATEGY: none
GITLAB_PRIVATE_TOKEN: $CI_GIT_TOKEN
rules:
- if: '$CI_PIPELINE_SOURCE == "manual"'
- if: '$CI_PIPELINE_SOURCE == "web"'
script:
- test -z ${DO_UPDATE} && { echo "No updates required. Not crating PR"; exit 0; }
- >-
@@ -59,7 +59,7 @@ create_pr:
check:
stage: check
rules:
- if: '$CI_PIPELINE_SOURCE == "manual"'
- if: '$CI_PIPELINE_SOURCE == "web"'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "push"'
@@ -84,7 +84,7 @@ build:
tags:
- nix
rules:
- if: '$CI_PIPELINE_SOURCE == "manual"'
- if: '$CI_PIPELINE_SOURCE == "web"'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "push"'
@@ -109,7 +109,7 @@ build:
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: always
- if: '$CI_PIPELINE_SOURCE == "manual"'
- if: '$CI_PIPELINE_SOURCE == "web"'
when: never
needs:
- job: check