Skip to content

Commit 7771d53

Browse files
committed
updated sphinx step (gh action unclear)
1 parent dca3f65 commit 7771d53

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/documentation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
python pyphot_table.py
2929
python licks_table.py
3030
- name: sphinx-action@master
31-
uses: ammaraskar/sphinx-action@master
32-
with:
33-
pre-build-command: |
34-
# clear previous API documentation
35-
rm -f pyphot.rst pyphot.*.rst
36-
# re-generate API documentation
37-
make apidoc
38-
docs-folder: "doc/"
31+
working-directory: ./doc
32+
run: |
33+
# clear previous API documentation
34+
rm -f pyphot.rst pyphot.*.rst
35+
# re-generate API documentation
36+
make apidoc
37+
# compile html
38+
make html
3939
# Publish built docs to gh-pages branch.
4040
# ===============================
4141
- name: Commit documentation changes

0 commit comments

Comments
 (0)