Skip to content

chore: pages ci

chore: pages ci #1

Workflow file for this run

name: deploy pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: github-pages
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install pnpm 🤏🏻
uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node 💚
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Build 🔧
working-directory: examples/web
run: |
pnpm install
pnpm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: examples/web/dist