[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [manual/master] add artifacts to publish complete translations when there are changes to the content



commit edef60c94a7cab02d2f0b96b1010f7ab4e5f1f92
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Thu Sep 2 12:49:00 2021 +0000

    add artifacts to publish complete translations when there are changes to the content
---
 .gitlab-ci.yml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 828303f..cbcb6c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,15 @@
 image: debian:buster-slim
-       
-cache: 
+     
+cache:
   key: $CI_PROJECT_PATH_SLUG.${CI_COMMIT_REF_SLUG}
   paths:
     - packages
     - lego
     - apt-cache
-       
+     
 # This template should be usable on any system that's based on apt.
 # taken from tor gitlabci
-       
+     
 .apt-template: &apt-template |
       export LC_ALL=C.UTF-8
       echo Etc/UTC > /etc/timezone
@@ -25,15 +25,15 @@ cache:
         >> /etc/apt/apt.conf.d/99gitlab
       apt-get update -qq
       apt-get upgrade -qy
-       
+     
 variables:
     GIT_SUBMODULE_STRATEGY: recursive
-       
+     
 stages:
     - build
     - test_l10n
-       
-pages: 
+     
+pages:
   stage: build
   script:
     - *apt-template
@@ -54,7 +54,7 @@ pages:
       - public
       - i18n
       - l10n
-       
+     
 check_new_strings:
   stage: test_l10n
   needs: [pages]
@@ -70,7 +70,11 @@ check_new_strings:
     - git clone https://gitlab.torproject.org/tpo/community/l10n.git
     - echo 'lets see if there are any updates in the strings for translation'
     - l10n/bin/check_po_status.py tbmanual-contentspot
-       
+  artifacts:
+    paths:
+      - public
+      - i18n
+     
 check_l10n:
   stage: test_l10n
   needs: [pages]



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits