ci: add pip caching for docs workflow (#1292)

pull/1293/head
ksurl 2 years ago committed by GitHub
parent 56368a7207
commit 3e4b26957d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,10 +18,13 @@ jobs:
with:
fetch-depth: 0
- name: Install mkdocs
uses: actions/setup-python@v3
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: |
docs-requirements.txt
run: |
pip install \
mkdocs \
mkdocs-material \
md-toc
pip install -r docs-requirements.txt
- name: Generate docs
run: mkdocs gh-deploy --strict
run: mkdocs gh-deploy --strict

@ -0,0 +1,3 @@
mkdocs
mkdocs-material
md-toc
Loading…
Cancel
Save