File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+ workflow_call :
9+
10+ jobs :
11+ build-and-publish :
12+ name : Build and Publish Docs
13+ runs-on : ubuntu-latest
14+ permissions :
15+ pages : write
16+ id-token : write
17+ environment :
18+ name : github-pages
19+ env :
20+ POETRY_VIRTUALENVS_CREATE : false
21+ steps :
22+ - uses : actions/setup-python@v5
23+ with :
24+ python-version : " 3.12"
25+
26+ - uses : Gr1N/setup-poetry@v9
27+
28+ - uses : actions/checkout@v4
29+ with :
30+ fetch-depth : 0
31+ fetch-tags : true
32+
33+ - name : Install Dependencies
34+ run : |
35+ poetry self add "poetry-dynamic-versioning[plugin]"
36+ poetry install --no-root --only=docs
37+
38+ - name : Build Package
39+ run : poetry build
40+
41+ - name : Install Package
42+ run : pip install dist/*.whl
43+
44+ - name : Build & Publish Docs
45+ uses : sphinx-notes/pages@v3
You can’t perform that action at this time.
0 commit comments