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'
|
name: 'Auto-translate Documentation'
|
||||||
|
|
||||||
|
# Temporarily disabled
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch: # Allow manual triggers only
|
||||||
branches: [ staging ]
|
# push:
|
||||||
paths:
|
# branches: [ staging ]
|
||||||
- 'apps/docs/content/docs/en/**'
|
# paths:
|
||||||
- 'apps/docs/i18n.json'
|
# - 'apps/docs/content/docs/en/**'
|
||||||
workflow_dispatch: # Allow manual triggers
|
# - 'apps/docs/i18n.json'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
"content/docs/[locale]/*.mdx",
|
"content/docs/[locale]/*.mdx",
|
||||||
"content/docs/[locale]/*/*.mdx",
|
"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