Skip to content

ci: update ci

ci: update ci #55

Workflow file for this run

name: Deploy To Github pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6.x
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install and Build
run: |
pnpm install
pnpm docs:build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./.docs/.vitepress/dist