2021-05-29 05:48:04 +03:00
|
|
|
name: Crowdin
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
# manual trigger
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
synchronize-with-crowdin:
|
|
|
|
name: Synchronize with Crowdin
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Synchronize
|
|
|
|
uses: crowdin/github-action@1.1.0
|
|
|
|
with:
|
2021-05-29 06:06:15 +03:00
|
|
|
upload_sources: true
|
2021-05-29 05:48:04 +03:00
|
|
|
upload_translations: true
|
|
|
|
download_translations: true
|
|
|
|
project_id: 458284
|
2021-05-29 05:55:29 +03:00
|
|
|
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN_SECRET }}
|
2021-05-29 06:06:15 +03:00
|
|
|
source: 'src/locales/en.po'
|
|
|
|
translation: 'src/locales/%locale%.po'
|
2021-05-29 05:48:04 +03:00
|
|
|
env:
|
2021-05-29 06:07:15 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|