Skip to content

Crowdin Action

Crowdin Action #8

Workflow file for this run

name: Crowdin Action
on:
workflow_dispatch:
push:
# paths:
# - 'docs/**.md'
branches: [develop, master, main, feat/crowdin]
jobs:
crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin push
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
push_translations: false
source: docs/*.md
translation: docs/%two_letters_code%/%original_file_name%
ignore: |
docs/_coverpage.md
docs/_navbar.md
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
crowdin_branch_name: ${{ env.BRANCH_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}