Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

build: 修复路径问题 #7

build: 修复路径问题

build: 修复路径问题 #7

Workflow file for this run

name: Deploy MkDocs site
on:
push:
branches: [ main ] # main 分支有变动就触发
pull_request:
branches: [ main ] # PR 合并到 main 也触发
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install --upgrade pip
pip install mkdocs mkdocs-material
- name: Deploy with mkdocs gh-deploy
run: mkdocs gh-deploy --force --CNAME=ecnusc.eagle233.top
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}