testing woodpecker
This commit is contained in:
parent
677e0fa497
commit
c8be0be3ca
|
@ -1,4 +1,12 @@
|
||||||
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:
|
||||||
|
@ -7,16 +15,7 @@ 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
|
||||||
check_l10n_freshness:
|
publish:
|
||||||
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
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- cp -r public/* /var/www/queerscriptors/
|
- cp -r public/* /var/www/queerscriptors/
|
||||||
|
|
Loading…
Reference in a new issue