Skip to content

Merge pull request #93 from weipengzou/fix_wrong_text #79

Merge pull request #93 from weipengzou/fix_wrong_text

Merge pull request #93 from weipengzou/fix_wrong_text #79

Workflow file for this run

name: Deploy CI
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and Build 🔧
run: |
pnpm i
pnpm run lint
pnpm run docs:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs-dist # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
single-commit: true # Create a single commit rather than doing a full git history merge