diff --git a/.github/workflows/fly_deploy.yml b/.github/fly_deploy.yml similarity index 100% rename from .github/workflows/fly_deploy.yml rename to .github/fly_deploy.yml diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml new file mode 100644 index 00000000..d67cf3d3 --- /dev/null +++ b/.github/workflows/translate.yml @@ -0,0 +1,22 @@ +# .github/workflows/translate.yml +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.Action_Bot }} # Based on step2 name + g4f_provider: g4f.Provider.DeepAi # You can change this provider + langs: "en,zh-TW,French,Arabic" # You can define any langs \ No newline at end of file