Skip to content

docs: 更正语法 #224

docs: 更正语法

docs: 更正语法 #224

Workflow file for this run

name: Doc Page Publish
on:
push:
branches: [main-docs]
pull_request:
branches: [main-docs]
jobs:
publish:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '20'
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: yarn install
- name: Generate Static Files
run: yarn generate
- name: Publish to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: docs
folder: .output/public
# 直接覆盖到根目录,不再使用docs作为发布目录了
# target-folder: docs