Skip to content

Commit c05d0cc

Browse files
committed
Use figures artifact generated by analysis.yml workflow
1 parent 6725843 commit c05d0cc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/sphinx.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,20 @@ jobs:
3535
run: |
3636
pip install -r requirements.txt
3737
38+
# Action to download artifacts from a different workflow (analysis.yml)
3839
- name: Download figures artifact
39-
uses: actions/download-artifact@v3
40+
uses: dawidd6/action-download-artifact@v3
4041
with:
42+
workflow: analysis.yml
4143
name: Figures
44+
branch: main
4245

4346
- name: Build html
4447
run: |
45-
mv Figures docs/_static/
48+
mkdir docs/_static
49+
mv *.pdf docs/_static/
4650
sphinx-apidoc -o docs src
47-
cd doc/
51+
cd docs/
4852
make html
4953
5054
- name: Upload docs artifact

0 commit comments

Comments
 (0)