File tree 2 files changed +6
-15
lines changed
2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,14 @@ jobs:
34
34
- name : Upload artifact
35
35
uses : actions/upload-artifact@v3
36
36
with :
37
- name : docs
38
- path : docs/_build
37
+ name : docs-build
38
+ path : docs/build
39
39
40
40
upload-docs :
41
41
name : Upload docs to GitHub pages
42
42
runs-on : ubuntu-latest
43
43
needs : build-docs
44
44
steps :
45
-
46
- - uses : actions/checkout@v3
47
- - uses : actions/download-artifact@v3
48
- with :
49
- name : docs
50
- - name : Push to GitHub pages
51
- uses : peaceiris/actions-gh-pages@v3
52
- with :
53
- github_token : ${{ secrets.GITHUB_TOKEN }}
54
- publish_dir : ./docs/_build/html
55
- destination_dir : dev
56
- publish_branch : gh-pages-test
45
+ - uses : neuroinformatics-unit/actions/deploy_sphinx_docs@v2
46
+ with :
47
+ secret_input : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 6
6
SPHINXOPTS ?= -W --keep-going
7
7
SPHINXBUILD ?= sphinx-build
8
8
SOURCEDIR = .
9
- BUILDDIR = _build
9
+ BUILDDIR = build
10
10
11
11
# Put it first so that "make" without argument is like "make help".
12
12
help :
You can’t perform that action at this time.
0 commit comments