fix(i18n): allow updating existing docs files in Crowdin

- Add upload_sources_args: '--update-strings' to update existing files
- Remove duplicate steps in workflow
This commit is contained in:
Félix Malfait
2025-12-22 17:38:34 +01:00
parent cf51baedae
commit 354c43988d
+2 -13
View File
@@ -41,19 +41,6 @@ jobs:
- name: Generate navigation template for Crowdin
run: yarn docs:generate-navigation-template
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Generate navigation template for Crowdin
run: yarn docs:generate-navigation-template
- name: Upload docs to Crowdin
uses: crowdin/github-action@v2
with:
@@ -63,6 +50,8 @@ jobs:
localization_branch_name: i18n
base_url: 'https://twenty.api.crowdin.com'
config: 'crowdin-docs.yml'
# Allow updating existing files instead of failing
upload_sources_args: '--update-strings'
env:
# Docs translations project
CROWDIN_PROJECT_ID: '2'