File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,14 @@ jobs:
77
77
- name : ' Install dependencies'
78
78
run : |
79
79
pip install -r ./requirements.txt
80
+ pip install .
80
81
81
82
# Generate the documentation:
82
83
- name : ' Build documentation'
83
84
run : |
84
85
# Turn warnings into errors and ensure .doctrees is not deployed:
85
- sphinx-build -b html -WT --keep-going spec build/draft -d doctrees
86
+ export SPHINXOPTS="-b html -WT --keep-going -d doctrees"
87
+ make -C spec/ build
86
88
87
89
# Upload the build artifact:
88
90
- name : ' Upload build artifact'
@@ -107,10 +109,9 @@ jobs:
107
109
git checkout gh-pages
108
110
timeout-minutes : 5
109
111
110
- # Copy build artifact:
111
- - name : ' Copy build artifact'
112
+ - name : ' Copy build to root'
112
113
run : |
113
- rm -rf ./draft && cp -R ./build/draft ./draft
114
+ cp -R ./spec/_build/* .
114
115
timeout-minutes : 10
115
116
116
117
# Commit changes to:
You can’t perform that action at this time.
0 commit comments