mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
fix(i18n): exclude SDK files from automatic translation to prevent corruption (#1634)
* fix(i18n): exclude SDK files from automatic translation to prevent corruption * fix(i18n): temporarily disable auto-translate action while fixing translation corruption * disable i18n action
This commit is contained in:
13
.github/workflows/i18n.yml
vendored
13
.github/workflows/i18n.yml
vendored
@@ -1,12 +1,13 @@
|
||||
name: 'Auto-translate Documentation'
|
||||
|
||||
# Temporarily disabled
|
||||
on:
|
||||
push:
|
||||
branches: [ staging ]
|
||||
paths:
|
||||
- 'apps/docs/content/docs/en/**'
|
||||
- 'apps/docs/i18n.json'
|
||||
workflow_dispatch: # Allow manual triggers
|
||||
workflow_dispatch: # Allow manual triggers only
|
||||
# push:
|
||||
# branches: [ staging ]
|
||||
# paths:
|
||||
# - 'apps/docs/content/docs/en/**'
|
||||
# - 'apps/docs/i18n.json'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
"content/docs/[locale]/*.mdx",
|
||||
"content/docs/[locale]/*/*.mdx",
|
||||
"content/docs/[locale]/*/*/*.mdx"
|
||||
]
|
||||
],
|
||||
"exclude": ["content/docs/[locale]/sdks/*.mdx"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user