From d1016845a9112b26e13fa632bc62fa176dac2907 Mon Sep 17 00:00:00 2001 From: Matthew Kilgore Date: Sat, 29 Nov 2025 17:02:02 -0500 Subject: [PATCH] Add gitlab CI/CD runner file --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4e267f1..fd24633b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -277,11 +277,8 @@ update:currencies: git push -o merge_request.create -o merge_request.target=$CI_DEFAULT_BRANCH -o merge_request.title="Update currencies.json" origin update-currencies-$CI_COMMIT_SHORT_SHA fi rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - - if: $CI_PIPELINE_SOURCE == "schedule" - only: - variables: - - $UPDATE_CURRENCIES == "true" + - if: $CI_PIPELINE_SOURCE == "schedule" && $UPDATE_CURRENCIES == "true" + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $UPDATE_CURRENCIES == "true" # ========================================== # Binary Build with GoReleaser