Skip to content

fix: 🐛 remove accumulator from faq (#5387) #216

fix: 🐛 remove accumulator from faq (#5387)

fix: 🐛 remove accumulator from faq (#5387) #216

name: Sync Master Translation
permissions:
actions: write
checks: write
contents: write
deployments: write
pull-requests: write
statuses: write
on:
push:
branches:
- 'master*'
jobs:
sync-translation:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '16.x'
- run: npm i -g @crowdin/[email protected]
- name: Fetch Crowdin Master Translation ⬇️
run:
crowdin download -b master -T ${{ secrets.CROWDIN_API_KEY }} && crowdin download -b master -l zh-CN -T ${{ secrets.CROWDIN_API_KEY }}
- name: Push New Strings & Translations ⬆️
run:
crowdin upload sources -b master -T ${{ secrets.CROWDIN_API_KEY }}; crowdin upload translations -b master -T ${{ secrets.CROWDIN_API_KEY }}