GHA for crowdin (WIP) (#731)

* feat: add crowdin and supported languages

* fix: main branch name

* feat: test crowdin integration
This commit is contained in:
Mihai C
2021-09-23 17:22:49 +03:00
committed by GitHub
parent cb4a1e031e
commit 168db02e1f
4 changed files with 187 additions and 4 deletions

27
.github/workflows/crowdin.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Crowdin Action
on:
push:
branches:
- main
# Testing
- feat/i18n-crowdin
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: crowdin action
uses: crowdin/github-action@1.4.0
with:
upload_translations: true
download_translations: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}