GitNex/.woodpecker/locale.yml
qwerty287 43b1a3907d Move to woodpecker CI (#1104)
Addresses https://codeberg.org/gitnex/GitNex/issues/1099

@mmarif you would have to enable the repo on woodpecker and disable on gitlab... If you don't think this is a good idea, just close it.

Required secrets: `BOT_TOKEN`, `KS_PASS`, `KEY_PASS`, `KS_REPO`, `WEBDAV_PASSWORD`, `CROWDIN_TOKEN`

We can easily extend this later to run linters and such things.

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1104
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-05-13 19:35:09 +02:00

13 lines
325 B
YAML

pipeline:
push:
image: crowdin/cli:3.7.8
commands:
- cp crowdin.example.yml crowdin.yml
- sed -i 's/-removed-/'"$CROWDIN_TOKEN"'/' crowdin.yml
- crowdin push
secrets: [ CROWDIN_TOKEN ]
when:
event: [ push, tag ]
branch: main
path: [ app/src/main/res/values/strings.xml ]