File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ strategy :
16
+ matrix :
17
+ python-version : [3.7]
18
+
19
+ steps :
20
+ - name : Set up Python
21
+ uses : actions/setup-python@v1
22
+ with :
23
+ python-version : 3.7
24
+
25
+ - name : Checkout 🛎️
26
+ uses : actions/checkout@v2
27
+
28
+ - name : Install Dependencies
29
+ run : |
30
+ pip install -U sphinx
31
+ pip install -U sphinx-rtd-theme
32
+
33
+ - name : Build Docs
34
+ run : |
35
+ sphinx-build -b html ./doc/source/ public
36
+ touch public/.nojekyll
37
+
38
+ - name : Deploy 🚀
39
+ uses : JamesIves/github-pages-deploy-action@releases/v3
40
+ with :
41
+ ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
42
+ BRANCH : gh-pages
43
+ FOLDER : public
You can’t perform that action at this time.
0 commit comments