19 lines
608 B
YAML
19 lines
608 B
YAML
pipeline:
|
|
workspace:
|
|
base: /queerscriptors
|
|
path: src/
|
|
build:
|
|
image: python:3.8-bullseye
|
|
commands:
|
|
- apt-get update
|
|
- 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
|
|
- lektor build --output-path ../public
|
|
publish:
|
|
image: debian
|
|
commands:
|
|
- cp -r ../public/* /var/www/queerscriptors/
|
|
volumes:
|
|
- /var/www/queerscriptors:/var/www/queerscriptors
|