Skip to content

Update lca.md

Update lca.md #314

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Page Build
runs-on: ubuntu-latest
steps:
- name: 检查分支
uses: actions/checkout@v2
- name: 安装Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: 安装Node
uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true
- name: 安装Node依赖
run: npm install .
- name: 安装Mkdocs
run: pip install mkdocs-material
- name: 安装mkdocs-statistics-plugin
run: pip install -e .
- name: 构建页面
run: mkdocs build -v
- name: 发放到Github Page
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true