2022-04-26 20:32:52 +02:00
|
|
|
name: 💬 Crowdin Upload
|
2022-04-14 03:10:46 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
synchronize-with-crowdin:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout
|
2022-04-14 06:12:06 +02:00
|
|
|
uses: actions/checkout@v3
|
2022-04-14 03:10:46 +02:00
|
|
|
|
|
|
|
- name: crowdin action
|
2022-05-09 06:19:04 +02:00
|
|
|
uses: crowdin/github-action@1.4.9
|
2022-04-14 03:10:46 +02:00
|
|
|
with:
|
|
|
|
upload_sources: true
|
|
|
|
upload_sources_args: '--auto-update --delete-obsolete'
|
|
|
|
upload_translations: false
|
|
|
|
download_translations: false
|
|
|
|
config: crowdin.yml
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|