Merge pull request #12580 from marcusmoore/feature/crowdin-source-upload

Add GitHub Action to push translation sources to Crowdin
This commit is contained in:
snipe 2023-02-28 20:28:04 -08:00 committed by GitHub
commit 70d0347fe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.github/workflows/crowdin-upload.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Crowdin Action
on:
push:
branches: [ develop ]
jobs:
upload-sources-to-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Crowdin push
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}