Update deploy-docs.yml
This commit is contained in:
4
.github/workflows/deploy-docs.yml
vendored
4
.github/workflows/deploy-docs.yml
vendored
@ -12,13 +12,13 @@ jobs:
|
|||||||
- name: Set up Python 3.7
|
- name: Set up Python 3.7
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.7'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install mkdocs-material pydoc-markdown
|
pip install mkdocs-material pydoc-markdown
|
||||||
- name: Build Api docs
|
- name: Build Api docs
|
||||||
run: pydoc-markdown --build --site-dir=api
|
run: python -m pydoc-markdown --build --site-dir=api
|
||||||
- name: Copy APi docs
|
- name: Copy APi docs
|
||||||
run: cp -Tavr ./build/docs/content/ ./docs/api/
|
run: cp -Tavr ./build/docs/content/ ./docs/api/
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user