File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
ci :
8
- runs-on : ubuntu-latest
8
+ runs-on : ubuntu-22.04
9
9
steps :
10
10
- uses : actions/checkout@v4
11
11
12
12
- name : Install Dependencies
13
13
run : sudo apt-get install gettext
14
14
15
15
- name : Validate
16
- run : VERSION=${{ github.event.repository.default_branch }} MODE=dummy make all
16
+ run : VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
Original file line number Diff line number Diff line change 15
15
run : sudo apt-get install gettext
16
16
17
17
- name : Build
18
- run : make all
18
+ run : JOBS=4 MODE=html make all
19
19
20
20
- name : Deploy to gh page
21
21
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
43
43
LANGUAGE := zh_TW
44
44
LC_MESSAGES := $(CPYTHON_CLONE ) /Doc/locales/$(LANGUAGE ) /LC_MESSAGES
45
45
VENV := ~/.venvs/python-docs-i18n/
46
- MODE := autobuild-dev-html
47
- JOBS := 4
46
+ MODE := $( or $( MODE ) , autobuild-dev-html)
47
+ JOBS := $( or $( JOBS ) , auto)
48
48
49
49
.PHONY : all
50
50
all : prepare_deps # # Automatically build an html local version
You can’t perform that action at this time.
0 commit comments