Skip to content

Commit 82bb74d

Browse files
Modify CI/CD workflow for Python package
Updated the workflow name and added a step to build documentation.
1 parent 0da3b25 commit 82bb74d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python Package to PyPI
1+
name: Publish Python Package to PyPI-ci-cd.yml
22

33
on:
44
push:
@@ -27,6 +27,11 @@ jobs:
2727
python -m pip install --upgrade pip
2828
pip install build
2929
30+
- name: Build docs
31+
run: |
32+
pip install -r docs/requirements.txt
33+
cd docs && make html
34+
3035
- name: Build the package
3136
run: python -m build
3237

0 commit comments

Comments
 (0)