File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Build Docs
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+ - main
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v3
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ' 3.12'
22+
23+ - name : Install Poetry
24+ run : |
25+ curl -sSL https://install.python-poetry.org | python -
26+ echo "${HOME}/.local/bin" >> $GITHUB_PATH
27+
28+ - name : Install dependencies
29+ run : poetry install --with doc
30+
31+ - name : Build documentation
32+ run : poetry run sphinx-build -b html docsrc/ docsrc/_build/html > sphinx_build.log 2>&1
33+ - name : Upload build log
34+ uses : actions/upload-artifact@v4.6.2
35+ with :
36+ name : sphinx-build-log
37+ path : sphinx_build.log
38+
You can’t perform that action at this time.
0 commit comments