File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed
Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,38 @@ jobs:
1818 with :
1919 python-version : 3.8
2020
21- - name : Restore pipx cache
21+ - name : Setup Python
22+ uses : actions/setup-python@v2
23+ with :
24+ python-version : 3.8
25+
26+ - name : Restore pip cache
2227 uses : actions/cache@v2
2328 with :
24- path : ~/.local/pipx
25- key : pipx-cache
29+ path : ~/.cache/pip
30+ key : pip-3.8
31+
32+ - name : Upgrade pip and install poetry
33+ run : python -m pip install --upgrade pip poetry
34+ shell : bash
35+
36+ - name : Restore poetry cache
37+ uses : actions/cache@v2
38+ with :
39+ path : |
40+ ~/.cache/pypoetry/cache
41+ ~/.cache/pypoetry/artifacts
42+ key : poetry-cache-and-artifacts-3.8
43+
44+ - name : Restore virtualenvs
45+ uses : actions/cache@v2
46+ with :
47+ path : ~/.cache/pypoetry/virtualenvs
48+ key : venv-${{ hashFiles('poetry.lock') }}-3.8
49+
50+ - name : Poetry install
51+ run : poetry install --only docs
52+ shell : bash
2653
27- - run : pipx run --spec "mkdocs-material==8.5.10" mkdocs gh-deploy --force
54+ - name : Generate documentation
55+ run : poetry run mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments