Skip to content

feat: ✨ 添加 react 调度系列 #114

feat: ✨ 添加 react 调度系列

feat: ✨ 添加 react 调度系列 #114

Workflow file for this run

# Sample workflow for building and deploying a VitePress site to GitHub Pages
#
name: Deploy VitePress site to Pages
on:
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
# using the `master` branch as the default branch.
push:
branches: [master]
pull_request:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i yarn -g
- run: yarn
- name: Build
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0 # Not needed if lastUpdated is not enabled
# # - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
# # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# cache: yarn # or pnpm / yarn
# - name: Setup Pages
# uses: actions/configure-pages@v3
# - name: Install dependencies
# run: yarn install # or pnpm install / yarn install / bun install
# - name: Build with VitePress
# run: |
# yarn run build # or pnpm docs:build / yarn docs:build / bun run docs:build
# touch docs/.vitepress/dist/.nojekyll
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: docs/.vitepress/dist