Skip to content

docs: init quick start docs and import docs structrue (#39) #26

docs: init quick start docs and import docs structrue (#39)

docs: init quick start docs and import docs structrue (#39) #26

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Build
run: |
npm i pnpm -g
pnpm install
pnpm run build
pnpm run build:docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./dist