[tor-commits] [manual/master] with this, we can use the same file through all lektors with translation

emmapeel at torproject.org emmapeel at torproject.org
Tue Nov 2 20:42:51 UTC 2021


commit fb50f6d7f95f525dca51a53304325980f64774e8
Author: emma peel <emma.peel at riseup.net>
Date:   Tue Nov 2 21:03:28 2021 +0100

    with this, we can use the same file through all lektors with translation
---
 .gitlab-ci.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e7a6b2..34b0934 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,21 @@ image: debian:buster-slim
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
-  TRANSLATION_BRANCH: "tbmanual-contentspot"
+
+workflow:
+  rules:
+    - if: $CI_PROJECT_NAME == "support"
+      variables:
+        TRANSLATION_BRANCH: "support-portal"
+    - if: $CI_PROJECT_NAME == "manual"
+      variables:
+        TRANSLATION_BRANCH: "tbmanual-contentspot"
+    - if: $CI_PROJECT_NAME == "community"
+      variables:
+        TRANSLATION_BRANCH: "communitytpo-contentspot"
+    - if: $CI_PROJECT_NAME == "tpo"
+      variables:
+        TRANSLATION_BRANCH: "tpo-web"
 
 
 stages:





More information about the tor-commits mailing list