Skip to content

Merge pull request #17 from Shekar91/docs-translation #3

Merge pull request #17 from Shekar91/docs-translation

Merge pull request #17 from Shekar91/docs-translation #3

Workflow file for this run

name: Auto-translate docs
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1'
jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with: python-version: '3.11'

Check failure on line 13 in .github/workflows/translate.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/translate.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- run: pip install deep-translator
- run: python .github/scripts/auto_translate.py
env:
TARGET_LANGS: "hi,es,fr"
- name: Create PR
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore(docs): add machine-translated docs"
branch: translation/auto
title: "Auto: add machine-translated docs"
body: "Machine-generated translations. Please review."