-
Notifications
You must be signed in to change notification settings - Fork 102
62 lines (51 loc) · 1.94 KB
/
test_pdf_translations.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Test PDF translations (ja, ko, zh_CN)
on:
push:
branches:
- master # Only master will build both Uyuni and SUSE Manager documentations
- manager-4.3 # Other branches will only build SUSE Manager documentation
- manager-5.0 # Other branches will only build SUSE Manager documentation
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/checkout@v4
with:
path: uyuni-docs
- name: Checkout uyuni-docs-helper repository
uses: actions/checkout@v4
with:
path: uyuni-docs-helper
repository: uyuni-project/uyuni-docs-helper
- name: Configure environment
run: |
alias docker='podman'
mkdir outputs
- name: Build the Uyuni PDFs in Japanese
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ja -p uyuni
if: github.ref_name == 'master'
- name: Build the SUSE Manager PDFs in Japanese
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ja -p suma
- name: Build the Uyuni PDFs in Korean
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ko -p uyuni
if: github.ref_name == 'master'
- name: Build the SUSE Manager PDFs in Korean
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ko -p suma
- name: Build the Uyuni PDFs in Chinese, Simplified
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-zh_CN -p uyuni
if: github.ref_name == 'master'
- name: Build the SUSE Manager PDFs in Chinese, Simplified
run: |
cd uyuni-docs-helper
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-zh_CN -p suma