Skip to content

Merge pull request #332 from ecaps1038/monorepo-dev #26

Merge pull request #332 from ecaps1038/monorepo-dev

Merge pull request #332 from ecaps1038/monorepo-dev #26

Workflow file for this run

name: Website
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Generations of Components
run: pnpm run build:comp
- name: Build docs
run: |
pnpm run build:demo
cp ./packages/yike-design-demo/dist/index.html ./packages/yike-design-demo/dist/404.html
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
branch: gh-pages
folder: ./packages/yike-design-demo/dist
token: ${{secrets.GIT_TOKEN}}