testing woodpecker

This commit is contained in:
HackerNCoder 2022-08-26 21:28:41 +02:00
parent 677e0fa497
commit c8be0be3ca

View file

@ -1,4 +1,12 @@
pipeline:
check_l10n_freshness:
image: plugins/discord
settings:
webhook_id:
from_secret: webook_id
webhook_token:
from_secret: webhook_token
message: "Test"
build:
image: python:3.8-bullseye
commands:
@ -7,15 +15,6 @@ pipeline:
- 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
check_l10n_freshness:
image: plugins/discord
secrets:
- source: webhook_id
target: plugin_webhook_id
- source: webhook_token
target: plugin_webhook_token
settings:
message: "Test from woodpecker"
publish:
image: debian
commands: