Skip to content

Commit 295c205

Browse files
author
Onimock
committed
Update: github action to automatize build for docs
1 parent 1ef2a3f commit 295c205

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,25 @@ jobs:
9797
- name: Update versions
9898
run: python update_version.py ${{ env.VERSION }}
9999

100+
- name: Clean documentation build
101+
run: |
102+
rm -rf docs/build/html
103+
if: always()
104+
105+
- name: Build documentation
106+
run: |
107+
cd docs
108+
make html
109+
env:
110+
PYTHONPATH: ${{ github.workspace }}/src
111+
112+
- name: Upload documentation artifact
113+
uses: actions/upload-artifact@v4
114+
with:
115+
name: documentation
116+
path: docs/build/html/
117+
retention-days: 7
118+
100119
- name: Generate release notes
101120
id: generate_notes
102121
run: |

0 commit comments

Comments
 (0)