Skip to content

feat: supports title and desc customization #14

feat: supports title and desc customization

feat: supports title and desc customization #14

Workflow file for this run

name: Documentation Workflow
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Move manager out
run: mv ./manager/* ./
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
- name: Build documentation
run: pdm run mkdocs build --clean
deploy:
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
- name: Build and deploy
run: |
pdm run mkdocs build --clean
# 部署相关步骤...