Skip to content

Update README.md

Update README.md #9

Workflow file for this run

name: Build and Deploy MkDocs
on:
push:
branches:
- main # 根据需要更改分支
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build MkDocs
run: |
mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site