Skip to content

feat: a star

feat: a star #49

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
strategy:
matrix:
os: ['ubuntu-latest']
node: [18]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm i
- run: pnpm run build
- name: deploy
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
force_orphan: true