Skip to content

Commit c0d97fb

Browse files
authored
chore(ci): minor fix (#1028)
* chore: update docs-sync.translate.yaml * chore(ci): update docs.translate.dir.yaml
1 parent 25d182e commit c0d97fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/docs-sync.translate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
with:
5252
apikey: ${{ secrets.OPENAI_API_KEY }}
5353
model: "deepseek-chat"
54-
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }} ${{ steps.check_missing.outputs.missing_json_files }}"
55-
outputFiles: "docs/cn/**/*"
54+
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }}${{ steps.check_missing.outputs.missing_json_files }}"
55+
outputFiles: "docs/cn/**/*.{md,json}"
5656
languages: "Simplified-Chinese"
5757
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything."
5858
basePath: "https://api.deepseek.com"

.github/workflows/docs.translate.dir.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
with:
5252
apikey: ${{ secrets.OPENAI_API_KEY }}
5353
model: "deepseek-chat"
54-
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }} ${{ steps.check_missing.outputs.missing_json_files }}"
55-
outputFiles: "docs/cn/**/*"
54+
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }}${{ steps.check_missing.outputs.missing_json_files }}"
55+
outputFiles: "docs/cn/**/*.{md,json}"
5656
languages: "Simplified-Chinese"
5757
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything."
5858
basePath: "https://api.deepseek.com"

0 commit comments

Comments
 (0)