File tree Expand file tree Collapse file tree 3 files changed +22
-70
lines changed Expand file tree Collapse file tree 3 files changed +22
-70
lines changed Original file line number Diff line number Diff line change @@ -170,4 +170,4 @@ jobs:
170
170
name : Comparison
171
171
path : |
172
172
test_reference.csv
173
- test_results.csv
173
+ test_results.csv
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Deploy dashboard website
1
+ name : Build & Deploy Website
2
2
3
3
on :
4
4
workflow_run :
33
33
run : |
34
34
pip install -r requirements.txt
35
35
36
- # Action to download artifacts from a different workflow (analysis.yml)
36
+ # Action Figures artifact
37
37
- name : ' Download artifact'
38
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
39
+ uses : ./.github/actions/download-artifact
40
+ with :
41
+ name : ' Figures'
42
+ # Action analysis data artifact
43
+ - name : ' Download analysis data'
38
44
if : ${{ github.event.workflow_run.conclusion == 'success' }}
39
45
uses : ./.github/actions/download-artifact
40
46
with :
44
50
run : |
45
51
mv test_output.csv website/
46
52
47
- - name : Upload website artifact
53
+ - name : Build documentation
54
+ run : |
55
+ mkdir docs/_static
56
+ mv *.pdf docs/_static/
57
+ sphinx-apidoc -o docs src
58
+ cd docs/
59
+ make html
60
+
61
+ - name : move data to the website folder
62
+ run : |
63
+ mv docs/_build/html website/documentation
64
+
65
+ - name : Upload docs artifact
48
66
uses : actions/upload-pages-artifact@v3
49
67
with :
50
68
path : ' website'
You can’t perform that action at this time.
0 commit comments