Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #335

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #335

Workflow file for this run

name: Build and deploy to gh-pages
on: push
jobs:
build-and-deploy:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- run: pnpm install
- run: pnpm run build
- uses: JamesIves/github-pages-deploy-action@v4.6.1
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Deploy to gh-pages
with:
branch: gh-pages
folder: dist
single-commit: true