File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy docs
2+
3+ on : [ push, pull_request ]
4+
5+ jobs :
6+ report :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ python-version : [ 3.8 ]
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - name : Set up Python ${{ matrix.python-version }}
15+ uses : actions/setup-python@v2
16+ with :
17+ python-version : ${{ matrix.python-version }}
18+
19+ - name : Install packages
20+ run : |
21+ python -m pip install --upgrade pip wheel setuptools
22+ python -m pip install -r requirements.txt
23+ python -m pip install -r requirements/docs.txt
24+ python -m pip install .
25+ python -m pip list
26+
27+ - name : Build
28+ run : make -C docs/ html
29+
30+ - name : Deploy
31+ uses : JamesIves/github-pages-deploy-action@4.1.2
32+ with :
33+ branch : gh-pages # The branch the action should deploy to.
34+ folder : docs/_build/html # The folder the action should deploy.
You can’t perform that action at this time.
0 commit comments