👷 update api docs ci

This commit is contained in:
Ju4tCode 2020-09-23 23:32:34 +08:00 committed by GitHub
parent 541dce6c54
commit 2319ab7d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,17 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: "x64"
- name: Install Dependences
run: |
pip3 install poetry
poetry install
python -m pip install --upgrade pip
pip install .
- name: Build Doc
run: sphinx-build -M markdown ./docs_build ./build