Skip to content

The open alternative to Salesforce, designed for AI.

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

Félix Malfait354c43988d46
diff --git a/.github/workflows/docs-i18n-push.yaml b/.github/workflows/docs-i18n-push.yaml
index 189b3d5da07..871d06513b4 100644
--- a/.github/workflows/docs-i18n-push.yaml
+++ b/.github/workflows/docs-i18n-push.yaml
@@ -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'