Skip to content

增加 APP 配置

增加 APP 配置 #27

Workflow file for this run

name: Check Static Files
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
check-links:
name: Check Links
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Check links with MkDocs
run: |
mkdocs build --strict
check-mkdocs:
name: Check MkDocs Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Build documentation
run: |
mkdocs build --strict
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: documentation-site
path: ./site
retention-days: 7