Use Cron for locale update (#1205)

as title

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1205
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
6543 2022-09-12 09:08:47 +02:00 committed by M M Arif
parent e945d4505a
commit 33e6b69fb1

View File

@ -6,7 +6,7 @@ pipeline:
- sed -i 's/-removed-/'"$CROWDIN_TOKEN"'/' crowdin.yml
secrets: [ CROWDIN_TOKEN ]
when:
event: [ push, tag ]
event: [ push, tag, cron ]
branch: main
push:
@ -24,7 +24,7 @@ pipeline:
commands:
- crowdin pull
when:
event: [ push, tag ]
event: [ push, cron ]
branch: main
push-git:
@ -56,4 +56,4 @@ pipeline:
fi
when:
branch: main
event: [ push, tag ]
event: [ push, cron ]