AAE-24008 Crowdin sync implementation (#10309)

* AAE-24008 Crowdin implementation

* removed new line from pull-from-crowdin.yml

Co-authored-by: Anahide Tchertchian <608958+atchertchian@users.noreply.github.com>

---------

Co-authored-by: Anahide Tchertchian <608958+atchertchian@users.noreply.github.com>
This commit is contained in:
Ruggero Corsaletti
2024-10-21 12:20:20 +02:00
committed by GitHub
parent bbea2d80e5
commit 1d739ed15a
4 changed files with 64 additions and 0 deletions

View File

@@ -185,6 +185,27 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: ./.github/actions/npm-check-bundle
push-translation-keys-to-crowdin:
name: Push translations keys to Crowdin
if: ${{ github.ref == 'refs/heads/develop' }}
runs-on: ubuntu-latest
needs: [ initialization, build ]
permissions:
contents: read
packages: read
actions: read
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Push Source Files to Crowdin
uses: crowdin/github-action@6ed209d411599a981ccb978df3be9dc9b8a81699 # v2.1.1
with:
upload_sources: true
upload_sources_args: --delete-obsolete
env:
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TRANSLATIONS_TOKEN }}
finalize:
if: always()
runs-on: ubuntu-latest