comlib/.woodpecker.yml

17 lines
548 B
YAML
Raw Normal View History

2024-01-24 02:04:54 +00:00
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/