Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

feat(docs): Delete default files #5

feat(docs): Delete default files

feat(docs): Delete default files #5

Workflow file for this run

name: 部署文档
on:
push:
branches:
- master
permissions:
pages: write
id-token: write
jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 设置 Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: 安装依赖
run: |
corepack enable
npm ci
- name: 构建文档
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
npm run docs:build
> docs/.vuepress/dist/.nojekyll
- name: 上传文档
uses: actions/upload-pages-artifact@v3
with:
path: './docs/.vuepress/dist'
- name: 部署文档
uses: actions/deploy-pages@main