Skip to content

content: 添加北京大学智能学院三十一个教师学术网络,并完成事实核查修订(王立威头衔口径、查红彬全职受聘说明等)与导航/首页集成 #35

content: 添加北京大学智能学院三十一个教师学术网络,并完成事实核查修订(王立威头衔口径、查红彬全职受聘说明等)与导航/首页集成

content: 添加北京大学智能学院三十一个教师学术网络,并完成事实核查修订(王立威头衔口径、查红彬全职受聘说明等)与导航/首页集成 #35

Workflow file for this run

name: Deploy Academic Connection Network to GitHub Pages
on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/deploy-pages.yml'
- 'mkdocs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install MkDocs Material
run: pip install mkdocs-material
- name: Build site
run: mkdocs build --strict
- name: Build Pagefind search index
run: npx -y pagefind --site site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4