Skip to content

docs: README 末尾添加 License section(CC BY 4.0 + 署名) #13

docs: README 末尾添加 License section(CC BY 4.0 + 署名)

docs: README 末尾添加 License section(CC BY 4.0 + 署名) #13

Workflow file for this run

name: Deploy MkDocs to Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
cache-dependency-path: requirements-docs.txt
- run: pip install -r requirements-docs.txt
- run: mkdocs build
- uses: actions/upload-pages-artifact@v3
with:
path: site/
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4