Queerscriptors.org/.woodpecker.yml
2022-08-26 20:19:40 +02:00

19 lines
606 B
YAML

workspace:
base: /queerscriptors
path: src/
pipeline:
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