Skip to content

Download translations #1759

Download translations

Download translations #1759

name: Download translations
on:
push:
branches: [staging]
schedule:
- cron: '0 8 * * *'
jobs:
download_translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download translations
uses: crowdin/[email protected]
env:
GITHUB_TOKEN: ${{github.token}}
CROWDIN_PROJECT_ID: 342361
with:
upload_sources: true
upload_translations: false
download_translations: true
push_translations: true
create_pull_request: true
localization_branch_name: 'translations'
pull_request_title: 'chore: Update translations'
commit_message: 'chore: Update translations'
token: ${{secrets.WEBTEAM_CROWDIN_TOKEN}}
source: '/src/i18n/en-US.json'
translation: '/src/i18n/%locale%.json'
base_path: '.'