Skip to content

Add language option (#4174) #139

Add language option (#4174)

Add language option (#4174) #139

name: Translations upload to Crowdin
concurrency: upload-crowdin
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'locales/en/**'
jobs:
betaflight-messages-to-crowdin:
name: Messages file to Crowdin
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Upload messages file
uses: crowdin/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
config: 'crowdin.yml'
crowdin_branch_name: ${{ github.ref_name }}
upload_sources: true
upload_translations: false
download_translations: false