Commit 949f72c2 authored by emmapeel's avatar emmapeel 🤖
Browse files

simplify script and make it less prone to fail, although in detriment of efficiency

parent 2f70473d
Pipeline #6169 passed with stages
in 16 minutes and 8 seconds
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment