2022-08-23 23:22:52 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
2022-08-24 00:17:20 +00:00
|
|
|
image: python:3.8-bullseye
|
2022-08-23 23:22:52 +00:00
|
|
|
commands:
|
2022-08-24 00:07:28 +00:00
|
|
|
- apt-get update
|
2022-08-24 00:17:20 +00:00
|
|
|
- apt-get install -y git ca-certificates gettext 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
|
2022-08-23 23:22:52 +00:00
|
|
|
- lektor build --output-path public
|
2022-08-24 00:21:33 +00:00
|
|
|
- cp -r public/* /var/www/queerscriptors/
|
2022-08-23 23:22:52 +00:00
|
|
|
volumes:
|
|
|
|
- /var/www/queerscriptors:/var/www/queerscriptors
|