Skip to content

fix bugs

fix bugs #21

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: checkout main branch 🦕
uses: actions/checkout@v4
- name: setup pnpm 🥑
uses: pnpm/action-setup@v3
with:
version: 9
- name: setup node 📦
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: install dependencies and build 🔥
run: |
pnpm install
pnpm build
- name: deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
token: ${{ secrets.GITHUB_TOKEN }}
clean: true