Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit af8fb88

Browse files
authored
Create gh pages (#5)
* fix requirements and use test branch to undo accidental commits * use py3.10 * install setuptools * fix run command formatting
1 parent 0afbed0 commit af8fb88

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@ on:
44
push:
55
branches:
66
- master
7+
- create-gh-pages
78

89
jobs:
910
build:
1011
name: "Build docs"
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/setup-python@v4
15+
name: 'Set up Python 3.10'
16+
with:
17+
python-version: '3.10'
1418
- uses: actions/checkout@v3
1519
with:
1620
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
1721
- name: "Install deps and build with Sphinx"
1822
run: >
19-
pip3 install -r ./docs/docs.txt
20-
cd docs
23+
pip install setuptools --upgrade &&
24+
pip install -r ./docs/docs.txt &&
25+
cd docs &&
2126
make html
2227
- name: "Upload artifacts"
2328
uses: actions/upload-pages-artifact@v1

docs/docs.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-r requirements.txt
21
sphinx<6.0.0
32
sphinx-celery
43
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)