comlib/.woodpecker.yml
HackerNCoder 1729ed8957
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline was successful
remove when blocks to allow manual pipeline
2024-09-20 16:37:40 +02:00

17 lines
548 B
YAML

steps:
build:
image: python:3.8-bullseye
commands:
- apt-get update
- apt-get install -y git gettext ca-certificates wget python3-pip
- wget https://gitlab.torproject.org/tpo/web/lego/-/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:
- rm -r /var/www/comlib/*
- cp -r public/* /var/www/comlib/
volumes:
- /var/www/comlib/:/var/www/comlib/