Skip to content

wang, doc: gitignore文件 #2

wang, doc: gitignore文件

wang, doc: gitignore文件 #2

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
env:
PYTHON_VERSION: 3.x
jobs:
docs:
name: Deploy Documentation to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
- name: Cache
uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- name: Install Dependencies
run: pip install mkdocs-material
- name: Deploy Documentation to GitHub Pages
run: mkdocs gh-deploy --force --no-history