Skip to content

Fixed ch deployment.md 文档修复 修复 k8s启动Application文档错误问题 (#494) #49

Fixed ch deployment.md 文档修复 修复 k8s启动Application文档错误问题 (#494)

Fixed ch deployment.md 文档修复 修复 k8s启动Application文档错误问题 (#494) #49

name: 部署文档
on:
push:
branches:
- master
paths:
- 'website/**'
- 'package.json'
- 'yarn.lock'
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: 18
cache: yarn
- name: 安装依赖
run: yarn install --frozen-lockfile
- name: 构建文档
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
yarn run docs:build
> website/.vuepress/dist/.nojekyll
- name: 部署文档
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/.vuepress/dist