Skip to content

Feat browser link (#20) #13

Feat browser link (#20)

Feat browser link (#20) #13

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