Use torproject ci

This commit is contained in:
HackerNCoder 2022-08-27 15:24:42 +02:00
parent f6c1200553
commit f36d665288

View file

@ -3,10 +3,9 @@ pipeline:
image: python:3.8-bullseye
commands:
- apt-get update
- apt-get install -y git gettext python3-pip virtualenv python3-babel
- virtualenv venv
- . venv/bin/activate
- pip install Lektor
- apt-get install -y git gettext ca-certificates wget python3-pip
- wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt
- python3 -m pip install --require-hashes -r requirements.txt
- rm -rf i18n
- git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n
- lektor build --output-path public