Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Add gitlab CI/CD runner file

Matthew Kilgored1016845a911
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