File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build_doc :
13+ name : ' Build cpython doc'
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-python@v2
18+ with :
19+ python-version : 3.7
20+ - name : clone docsbuild scripts
21+ run : |
22+ git clone https://github.com/python/docsbuild-scripts/
23+ - name : setup requirements
24+ run : |
25+ python -m pip install --upgrade pip
26+ python -m pip install jinja2 markupsafe
27+ - name : build docs
28+ run : |
29+ 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
30+ - name : ' Upload'
31+ uses : actions/upload-artifact@v2.2.2
32+ with :
33+ name : doc-html
34+ path : www/
You can’t perform that action at this time.
0 commit comments