chore: remove translation script and workflow files
This commit is contained in:
parent
5ba862dce2
commit
f64c043a44
3 changed files with 2 additions and 36 deletions
33
.github/workflows/translate-readme.yml
vendored
33
.github/workflows/translate-readme.yml
vendored
|
|
@ -1,33 +0,0 @@
|
|||
name: Translate README
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
translate:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Translate README to all languages
|
||||
env:
|
||||
GLM_API_KEY: ${{ secrets.GLM_API_KEY }}
|
||||
run: |
|
||||
node .github/scripts/translate-readme.js vi zh-CN
|
||||
|
||||
- name: Upload translations as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: translated-readmes
|
||||
path: i18n/
|
||||
Loading…
Add table
Add a link
Reference in a new issue