add: multi-treading #77
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: Generate Localized Readme | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
translate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run translation | |
uses: mrf0rtuna4/Github-Readme-AutoTranslator@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GTK }} | |
LANGS: 'serbian,italian,russian,japan' | |
- name: Push to GitHub | |
uses: crazy-max/ghaction-github-pages@v3.1.0 | |
with: | |
target_branch: translations | |
build_dir: 'dist' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GTK }} |