Skip to content

Commit 6387588

Browse files
committed
Add the figures artifact to the docs folder before building the website.
1 parent 255618c commit 6387588

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/sphinx.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,22 @@ jobs:
3535
run: |
3636
pip install -r requirements.txt
3737
38+
- name: Download figures artifact
39+
uses: actions/download-artifact@v3
40+
with:
41+
name: Figures
42+
3843
- name: Build html
3944
run: |
40-
sphinx-apidoc -o doc src
45+
mv Figures docs/_static/
46+
sphinx-apidoc -o docs src
4147
cd doc/
4248
make html
4349
4450
- name: Upload docs artifact
4551
uses: actions/upload-pages-artifact@v3
4652
with:
47-
path: 'doc/_build/html'
53+
path: 'docs/_build/html'
4854

4955
- name: Deploy to GitHub Pages
5056
id: deployment

0 commit comments

Comments
 (0)