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