Skip to content

Commit 7c836de

Browse files
committed
ci: remove deprecated action in favour of explicit compilation
1 parent 99de3bd commit 7c836de

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9-
- uses: sphinx-toolbox/sphinx-action@master
9+
- uses: actions/setup-python@v5
1010
with:
11-
pre-build-command: "pip install .[docs]"
12-
docs-folder: "docs/"
11+
python-version: "3.11"
12+
- name: Build docs
13+
run: |
14+
pip install .[docs]
15+
make -C docs html
1316
- name: Deploy
1417
uses: peaceiris/actions-gh-pages@v4
1518
if: github.ref == 'refs/heads/master'

.github/workflows/docs_preview.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: sphinx-toolbox/sphinx-action@master
26+
- uses: actions/setup-python@v5
2727
with:
28-
pre-build-command: "pip install .[docs]"
29-
docs-folder: "docs/"
28+
python-version: "3.11"
29+
- name: Build docs
30+
run: |
31+
pip install .[docs]
32+
make -C docs html
3033
- name: Deploy Preview
3134
uses: rossjrw/[email protected]
3235
with:

0 commit comments

Comments
 (0)