Create translate.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |