feat: add GitHub Actions workflow for running tests on push and pull request
This commit is contained in:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -7,8 +7,6 @@ on:
|
||||
paths:
|
||||
- docs/**
|
||||
- mkdocs.yml
|
||||
- pyproject.toml
|
||||
- uv.lock
|
||||
- .github/workflows/docs.yml
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -26,7 +24,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@v7
|
||||
|
||||
- name: 构建文档
|
||||
run: uv run --frozen mkdocs build --strict --site-dir site
|
||||
run: uv run --frozen --only-group docs mkdocs build --strict --site-dir site
|
||||
|
||||
- name: 整理发布目录
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user