File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,44 @@ jobs:
29
29
url : ${{ steps.deployment.outputs.page_url }}
30
30
runs-on : ubuntu-latest
31
31
steps :
32
+
32
33
- name : Checkout
33
34
uses : actions/checkout@v3
35
+
36
+ - name : Set up Python
37
+ uses : actions/setup-python@v2
38
+ with :
39
+ python-version : 3.9
40
+
41
+ - name : Install package
42
+ run : |
43
+ python -m pip install --upgrade pip
44
+ pip install .[dev]
45
+
46
+ - name : List packages so far
47
+ run : |
48
+ pip list
49
+
50
+ - name : Build Documentation
51
+ run : |
52
+
53
+ pip install .[docs]
54
+ cd docs
55
+ python generate.py
56
+ python contributors.py
57
+ cd sphinx
58
+ make clean
59
+ make html
60
+
34
61
- name : Setup Pages
35
62
uses : actions/configure-pages@v3
63
+
36
64
- name : Upload artifact
37
65
uses : actions/upload-pages-artifact@v2
38
66
with :
39
- # Upload entire repository
40
- path : ' .'
67
+ # Upload just docs
68
+ path : ' docs/sphinx/build/html'
69
+
41
70
- name : Deploy to GitHub Pages
42
71
id : deployment
43
72
uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments