Skip to content

chore: docs fix & img corss #14

chore: docs fix & img corss

chore: docs fix & img corss #14

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
id: pnpm-install
uses: pnpm/[email protected]
with:
version: 7.5.0
run_install: false
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Build with docs
run: pnpm docs:build
- name: Deploy to github-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-dist