generated from vanHeemstraSystems/template-default-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.01 KB
/
documentation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Translate DOCUMENTATION
on:
push:
branches:
- main
- master
jobs:
translate:
runs-on: ubuntu-latest
strategy:
matrix:
language:
- { code: zh-CN, name: Chinese Simplified }
- { code: zh-TW, name: Chinese Traditional }
- { code: hi, name: Hindi }
- { code: ar, name: Arabic }
- { code: fr, name: French }
- { code: en, name: English }
- { code: de, name: German }
- { code: nl, name: Dutch }
- { code: es, name: Spanish }
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x # Updated to a more recent LTS version
- name: Adding DOCUMENTATION - ${{ matrix.language.name }}
uses: vanHeemstraSystems/translate-documentation@main
with:
LANG: ${{ matrix.language.code }}