Skip to content

1. fixed Layout 自定义组件不存在 #40

1. fixed Layout 自定义组件不存在

1. fixed Layout 自定义组件不存在 #40

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- name: Install
run: pnpm install
- name: Build Theme
run: pnpm run build
- name: Build Demo
run: pnpm run build:demo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: ./demo/dist
force: true
force_orphan: true