Skip to content

'修改路径'

'修改路径' #3

Workflow file for this run

# ci.yml
name: Vangle
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️ # 将代码拉取到虚拟机
uses: actions/checkout@v3
- name: Install pnpm
run: npm i pnpm@8 -g
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Install and Build 🔧 # 安装依赖、打包,如果提前已打包好无需这一步
run: |
pnpm install
pnpm build
pnpm run docs:build
- name: Deploy 🚀 # 部署
uses: JamesIves/[email protected]
with:
branch: gh-pages # 部署后提交到那个分支
folder: packages/docs/.vitepress/dist # 这里填打包好的目录名称