Skip to content

docs: Update the asgi middleware document #7

docs: Update the asgi middleware document

docs: Update the asgi middleware document #7

Workflow file for this run

name: Build Docs
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'docs/zh/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-publish
- name: Install Flit
if: steps.cache.outputs.cache-hit != 'true'
run: pip install flit
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: flit install --symlink
- name: Build Docs
run: |
cd ./docs/zh
mkdocs gh-deploy --force