Update deploy-docs.yml

This commit is contained in:
collerek
2021-06-08 16:51:40 +02:00
committed by GitHub
parent 0cc128edae
commit 1442675ab0

View File

@ -12,12 +12,12 @@ 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 python3.7 -m pip install --upgrade pip
pip install mkdocs-material pydoc-markdown python3.7 -m pip install mkdocs-material pydoc-markdown
pydoc-markdown --build --site-dir=api python3.7 -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