Translate lesson html files #5
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 lesson html files | |
on: | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'Who triggered this build?' | |
required: true | |
default: 'Maintainer (via GitHub)' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: DeepL Translate Github Action | |
uses: lyqht/deepl-translate-github-action@v2 | |
with: | |
target_languages: es | |
input_file_path: episodes/01-intro.md | |
output_file_name_pattern: episodes/{language}/01-intro.md | |
deepl_api_key: ${{ secrets.DEEPL_API_KEY }} |