Skip to content

1.1.1

1.1.1 #17

Workflow file for this run

name: deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: setup node
uses: actions/setup-node@v2
with:
node-version: 18
- name: install deps and build
run: |
pnpm install
pnpm run docs:build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: doc/.vitepress/dist # The folder the action should deploy.
branch: git-page