Skip to content

πŸ“– Fix: docs light theme low contrast appearance. #4

πŸ“– Fix: docs light theme low contrast appearance.

πŸ“– Fix: docs light theme low contrast appearance. #4

Workflow file for this run

name: Docs
on:
push:
branches: [ master ]
paths: [ "docs/**" ]
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- run: pnpm install
- name: Build lib
run: pnpm lib:build
- name: Build docs
run: pnpm docs:build
- uses: actions/upload-pages-artifact@v2
with:
path: docs/.vitepress/dist
deploy:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2