commit 0efd1225f7782578e7e69ce413a3b74f7a77618c
Author: emma peel <emma.peel(a)riseup.net>
Date: Thu Oct 28 10:16:22 2021 +0200
this conditions were not working. this is a better solution
---
.gitlab-ci.yml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06d12ea8..e64f0631 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,12 +78,7 @@ check_new_strings:
allow_failure: true
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
- - if: '$CI_COMMIT_BRANCH == "translations"'
- when: never
- - changes:
- - content/**/*.lr
- - templates/**/*
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- *apt-template
- DEBIAN_FRONTEND=noninteractive apt-get install gettext git python3-dev python3-setuptools i18nspector python3-polib python3-requests ca-certificates apt-utils -y