Skip to content

Commit

Permalink
Create translate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-cpp authored Feb 28, 2024
1 parent cdc99aa commit 342bece
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Translate Readme

on:
push:
branches: ['**']

jobs:
translate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 3

- name: Auto Translate
uses: Lin-jun-xiang/action-translate-readme@v2 # Based on the tag
with:
token: ${{ secrets.translate }} # Based on step2 name
g4f_provider: g4f.Provider.DeepAi # You can change this provider
langs: "en,ru,Franch,German" # You can define any langs

0 comments on commit 342bece

Please sign in to comment.