mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-06-09 17:31:19 +00:00
🌎 ci: Fix Locize Sync CDN Mode (#13465)
This commit is contained in:
parent
a86e504a57
commit
a7cfbccc50
1 changed files with 2 additions and 2 deletions
4
.github/workflows/locize-i18n-sync.yml
vendored
4
.github/workflows/locize-i18n-sync.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
node-version: '24.16.0'
|
||||
|
||||
- name: Install locize CLI
|
||||
run: npm install -g locize-cli
|
||||
run: npm install -g locize-cli@12.2.0 --ignore-scripts --no-audit --no-fund
|
||||
|
||||
# Sync translations (Push missing keys & remove deleted ones)
|
||||
- name: Sync Locize with Repository
|
||||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
LOCIZE_PROJECT_ID: ${{ secrets.LOCIZE_PROJECT_ID }}
|
||||
run: |
|
||||
cd client/src/locales
|
||||
locize sync --api-key "$LOCIZE_API_KEY" --project-id "$LOCIZE_PROJECT_ID" --language en
|
||||
locize sync --cdn-type pro --api-key "$LOCIZE_API_KEY" --project-id "$LOCIZE_PROJECT_ID" --language en
|
||||
|
||||
# When triggered by repository_dispatch, skip sync step.
|
||||
- name: Skip sync step on non-push events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue