Skip to content

Commit 50f656d

Browse files
committed
trying to fix docs
1 parent 68af7b6 commit 50f656d

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

.github/workflows/build_docs.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,22 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
13-
# Standard drop-in approach that should work for most people.
14-
- uses: ammaraskar/sphinx-action@master
15-
with:
16-
pre-build-command: "pip install -r dev.requirements.txt"
17-
docs-folder: "docs/"
12+
- uses: actions/checkout@v2
1813

19-
- name: GitHub Pages action
20-
uses: peaceiris/[email protected]
21-
with:
22-
github_token: ${{ secrets.GITHUB_TOKEN }}
23-
publish_dir: ./_build/html
14+
- name: Set up Python 3.8
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.8
18+
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
python -m pip install -r dev.requirements.txt
23+
- name: Build the book
24+
run: |
25+
make html docs/
26+
- name: GitHub Pages action
27+
uses: peaceiris/[email protected]
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./_build/html

0 commit comments

Comments
 (0)