[tor-commits] [community/translations] simplify script and make it less prone to fail, although in detriment of efficiency
emmapeel at torproject.org
emmapeel at torproject.org
Thu May 13 11:00:40 UTC 2021
commit 949f72c25b26d333816fae2cb84d025aa6810093
Author: emma peel <emma.peel at riseup.net>
Date: Thu May 13 13:00:06 2021 +0200
simplify script and make it less prone to fail, although in detriment of efficiency
---
.gitlab-ci.yml | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 16ba86a..0b8fbcc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,6 @@ cache:
paths:
- packages
- venv
- - i18n
- lego
- apt-cache
@@ -40,13 +39,9 @@ before_script:
- pip3 install wheel
- pip3 install lektor
- echo 'checking out translations'
- - >
- if [ "i18n" ]; then
- cd i18n && git checkout tbmanual-contentspot && git reset --hard && git pull && cd ..
- else
- git clone https://git.torproject.org/translation.git i18n
- cd i18n && git checkout tbmanual-contentspot && cd ..
- fi
+ - rm -rf i18n
+ - git clone https://git.torproject.org/translation.git i18n
+ - cd i18n && git checkout communitytpo-contentspot && cd ..
pages:
script:
More information about the tor-commits
mailing list