[tor-commits] [manual/translations] try broken links test
emmapeel at torproject.org
emmapeel at torproject.org
Fri Apr 23 08:00:30 UTC 2021
commit 9a140cdd6cf9dc70313007697269495531d3146e
Author: emma peel <emmapeel at torproject.org>
Date: Tue Apr 20 13:33:20 2021 +0000
try broken links test
---
.gitlab-ci.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b960083..e20ed6c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: debian:buster-slim
stages:
- build
+ - test
pages:
stage: build
@@ -13,16 +14,20 @@ pages:
- pip3 install lektor
- rm -rf i18n
- git clone https://git.torproject.org/translation.git i18n
- - cd i18n && git checkout tbmanual-contentspot
- - grep -r '] (' *.po && cd ..
+ - cd i18n && git checkout tbmanual-contentspot && cd ..
- rm -rf lego
- git clone https://git.torproject.org/project/web/lego.git lego
- cd lego && git checkout master && git pull && cd ..
- rm -rf public
- lektor plugins reinstall
- lektor build --output-path public && lektor build --output-path public
+
artifacts:
paths:
- public
only:
- translations
+check_l10n:
+ stage: test
+ script:
+ - grep -r '] (' i18n/*.po >&2
More information about the tor-commits
mailing list