Skip to content

Commit 0c99e7a

Browse files
committed
trying to fix docs
1 parent 2438ac4 commit 0c99e7a

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

.github/workflows/build_docs.yml

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

1111
steps:
12-
- uses: actions/checkout@v2
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/"
1318

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
19+
- name: GitHub Pages action
20+
uses: peaceiris/[email protected]
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./_build/html

0 commit comments

Comments
 (0)