File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change 1- ---
2-
31name : Tests
42
53on :
64 push :
7- branches :
8- - master
95 pull_request :
10- branches :
11- - master
6+ workflow_dispatch :
127
138jobs :
149 build_doc :
15- name : ' Build cpython doc '
10+ name : Build CPython documentation
1611 runs-on : ubuntu-latest
1712 steps :
18- - uses : actions/checkout@v2
19- - uses : actions/setup-python@v2
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-python@v4
2015 with :
21- python-version : 3.8
22- - name : clone docsbuild scripts
16+ python-version : 3
17+ - name : Clone docsbuild scripts
2318 run : |
2419 git clone https://github.com/python/docsbuild-scripts/
2520 - name : setup requirements
2621 run : |
2722 python -m pip install --upgrade pip
28- python -m pip install jinja2 markupsafe zc.lockfile
29- - name : build docs
30- run : |
31- python3 ./docsbuild-scripts/build_docs.py --quick --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation --theme $(pwd) --language en --branch 3.9
32- - name : ' Upload'
23+ python -m pip install -r docsbuild-scripts/requirements.txt
24+ - name : Build documentation
25+ run : >
26+ python ./docsbuild-scripts/build_docs.py
27+ --quick
28+ --build-root ./build_root
29+ --www-root ./www
30+ --log-directory ./logs
31+ --group $(id -g)
32+ --skip-cache-invalidation
33+ --theme $(pwd)
34+ --language en
35+ --branch 3.10
36+ - name : Upload
33373438 with :
3539 name : doc-html
You can’t perform that action at this time.
0 commit comments