Give up Crowdin!
parent
a25ea41974
commit
37ec41b6b0
@ -1,43 +0,0 @@
|
||||
when:
|
||||
branch: develop
|
||||
|
||||
pipeline:
|
||||
download:
|
||||
image: git.lcomrade.su/root/drone-crowdin-v2
|
||||
pull: true
|
||||
settings:
|
||||
crowdin_key:
|
||||
from_secret: crowdin_key
|
||||
project_id: 553341
|
||||
target: download
|
||||
download_to: internal/web/data/locale/
|
||||
download_skip_untranslated_strings: true
|
||||
#download_skip_untranslated_files: true
|
||||
#download_export_approved_only: false
|
||||
when:
|
||||
event: cron
|
||||
|
||||
prepare:
|
||||
image: alpine
|
||||
pull: true
|
||||
commands:
|
||||
- chmod +x ./tools/localefmt.sh
|
||||
- ./tools/localefmt.sh --version
|
||||
- ./tools/localefmt.sh --rm-empty $(find ./ -type f -name "*.locale")
|
||||
when:
|
||||
event: cron
|
||||
|
||||
push:
|
||||
image: appleboy/drone-git-push
|
||||
pull: true
|
||||
settings:
|
||||
author_email: "translatebot@lcomrade.su"
|
||||
author_name: Translate [Bot]
|
||||
branch: develop
|
||||
commit: true
|
||||
commit_message: "[skip ci] Updated translations"
|
||||
remote: "git@git.lcomrade.su:root/lenpaste.git"
|
||||
ssh_key:
|
||||
from_secret: ci_ssh_key
|
||||
when:
|
||||
event: cron
|
@ -1,15 +0,0 @@
|
||||
when:
|
||||
event: [push]
|
||||
branch: develop
|
||||
path: ["internal/web/data/locale/*", ".woodpecker/crowdin_upload.yml"]
|
||||
|
||||
pipeline:
|
||||
upload:
|
||||
image: git.lcomrade.su/root/drone-crowdin-v2
|
||||
pull: true
|
||||
settings:
|
||||
crowdin_key:
|
||||
from_secret: crowdin_key
|
||||
project_id: 553341
|
||||
target: upload
|
||||
upload_files: {"internal/web/data/locale/en.locale": "en.ini"}
|
Loading…
Reference in New Issue