feat: update react-utils and core typings and format #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |