Queerscriptors.org/.woodpecker.yml

22 lines
788 B
YAML
Raw Normal View History

2022-08-26 18:19:40 +00:00
pipeline:
2022-08-23 23:22:52 +00:00
build:
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
- 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-26 18:22:14 +00:00
- lektor build --output-path public
2022-08-26 19:07:42 +00:00
check_l10n_freshness:
image: appleboy/drone-discord
settings:
webhook_id: 1012800295882993785/i
webhook_token: _lCskHlo41SHKMpqE1tzwDTQM7R8LAPJaxiArWhllZrYAxEdf8Jz0hRf6UD17EeyfnCd
message: "Test from woodpecker"
2022-08-26 18:18:52 +00:00
publish:
image: debian
commands:
2022-08-26 18:22:14 +00:00
- cp -r public/* /var/www/queerscriptors/
2022-08-23 23:22:52 +00:00
volumes:
- /var/www/queerscriptors:/var/www/queerscriptors