Skip to content

chore: changeset version #137

chore: changeset version

chore: changeset version #137

Workflow file for this run

name: A TO A:GH_PAGES
on:
push:
paths:
- 'packages/**'
- .github/workflows/docs.yml
- package.json
- pnpm-lock
- pnpm-workspace.yaml
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and Deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# 你要操作的目标仓库
TARGET_REPO: TuiMao233/hairylib
# 构建结果存储的分支
TARGET_BRANCH: gh_pages
# 要使用的构建命令
BUILD_SCRIPT: npm i pnpm -g && pnpm i && pnpm docs:build
# 构建结果存储目录
BUILD_DIR: packages/.vitepress/dist/