Skip to content

Commit 342bece

Browse files
authored
Create translate.yml
1 parent cdc99aa commit 342bece

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/translate.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Translate Readme
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
7+
jobs:
8+
translate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 3
15+
16+
- name: Auto Translate
17+
uses: Lin-jun-xiang/action-translate-readme@v2 # Based on the tag
18+
with:
19+
token: ${{ secrets.translate }} # Based on step2 name
20+
g4f_provider: g4f.Provider.DeepAi # You can change this provider
21+
langs: "en,ru,Franch,German" # You can define any langs

0 commit comments

Comments
 (0)