feat(core): 行拖拽到固定列 #52
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: github pages | |
on: | |
push: | |
branches: | |
- main # default branch | |
pull_request: | |
branches: | |
- main # default branch | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/checkout@v3 | |
- run: pnpm install | |
- run: pnpm run build | |
- name: Deploy with gh-pages | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npx gh-pages -d build -u "github-actions-bot <[email protected]>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# 文档编译命令,如果是 react 模板需要修改为 npm run docs:build | |
- run: pnpm run deploy | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# 文档目录,如果是 react 模板需要修改为 docs-dist | |
publish_dir: ./apps/docs/storybook-static |