Files
EndlessHostRoles/.github/workflows/crowdin.yml
T
HyperAtill 2b567d8cb7 Add branch name parameters for Crowdin action (#675)
Fixed the reason why Crowdin added second file
Now it won't happen, but second files in all translations need to be removed manually
2026-08-13 14:41:37 +03:00

27 lines
640 B
YAML

name: Crowdin Action
on:
push:
branches: [ main ]
paths: ['Resources/Lang/en_US.json']
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: upload sources to crowdin
uses: crowdin/github-action@v2
with:
crowdin_branch_name: main
localization_branch_name: main
upload_sources: true
download_sources: false
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}