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:
7777 - name : ' Install dependencies'
7878 run : |
7979 pip install -r ./requirements.txt
80+ pip install .
8081
8182 # Generate the documentation:
8283 - name : ' Build documentation'
8384 run : |
8485 # 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
8688
8789 # Upload the build artifact:
8890 - name : ' Upload build artifact'
@@ -107,10 +109,9 @@ jobs:
107109 git checkout gh-pages
108110 timeout-minutes : 5
109111
110- # Copy build artifact:
111- - name : ' Copy build artifact'
112+ - name : ' Copy build to root'
112113 run : |
113- rm -rf ./draft && cp -R ./build/draft ./draft
114+ cp -R ./spec/_build/* .
114115 timeout-minutes : 10
115116
116117 # Commit changes to:
You can’t perform that action at this time.
0 commit comments