This commit is contained in:
HackerNCoder 2022-08-26 22:30:18 +02:00
parent a283db84d6
commit 88400c9c2e

View file

@ -14,20 +14,10 @@ pipeline:
volumes: volumes:
- /var/www/queerscriptors:/var/www/queerscriptors - /var/www/queerscriptors:/var/www/queerscriptors
check_l10n_freshness: check_l10n_freshness:
image: python:3.8-bullseye image: debian:bullseye
commands: commands:
- apt-get update - apt-get update
- apt-get install gettext git python3-requests python3-dev python3-setuptools i18nspector python3-polib python3-requests ca-certificates apt-utils -y - apt-get install gettext git python3-dev python3-setuptools i18nspector python3-polib python3-requests ca-certificates apt-utils -y
- git clone https://lab.encryptionin.space/Queerscriptors/l10n.git - git clone https://lab.encryptionin.space/Queerscriptors/l10n.git
- echo 'lets see if there are any updates in the strings for translation' - echo 'lets see if there are any updates in the strings for translation'
- l10n/check_po_status.py main - l10n/check_po_status.py main
discord:
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_id
webhook_token:
from_secret: discord_token
message: "The lektor build has different pot than weblate-website"
when:
status: [ failure ]