Skip to content

feat: 补充 #148

feat: 补充

feat: 补充 #148

Workflow file for this run

name: GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "docs/**"
- "mkdocs.yml"
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install Material for MkDocs
run: |
pip install mkdocs-material
pip install mkdocs-awesome-pages-plugin
pip install mkdocs-git-revision-date-localized-plugin
- name: Deploy GitHub Pages
run: mkdocs gh-deploy --force