Skip to content

Dev blocked projects and block Metakeys copy-cat (#4067) #2565

Dev blocked projects and block Metakeys copy-cat (#4067)

Dev blocked projects and block Metakeys copy-cat (#4067) #2565

name: Crowdin upload
on:
push:
branches:
- main
# manual trigger from Github UI - Action tab
workflow_dispatch:
jobs:
synchronize-with-crowdin:
name: Upload sources to Crowdin
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Extract translations
run: 'yarn i18n:extract'
- name: Upload to Crowdin
uses: crowdin/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_translations: true
download_translations: false
project_id: '492549'
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
source: 'src/locales/messages.pot'
translation: 'src/locales/%two_letters_code%/messages.po'