testing woodpecker

This commit is contained in:
HackerNCoder 2022-08-26 21:30:09 +02:00
parent c8be0be3ca
commit 0231ea22d9

View file

@ -1,12 +1,4 @@
pipeline: pipeline:
check_l10n_freshness:
image: plugins/discord
settings:
webhook_id:
from_secret: webook_id
webhook_token:
from_secret: webhook_token
message: "Test"
build: build:
image: python:3.8-bullseye image: python:3.8-bullseye
commands: commands:
@ -15,7 +7,15 @@ pipeline:
- wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt - 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 - python3 -m pip install --require-hashes -r requirements.txt
- lektor build --output-path public - lektor build --output-path public
publish: check_l10n_freshness:
image: plugins/discord
settings:
webhook_id:
from_secret: webook_id
webhook_token:
from_secret: webhook_token
message: "Test"
publish:
image: debian image: debian
commands: commands:
- cp -r public/* /var/www/queerscriptors/ - cp -r public/* /var/www/queerscriptors/