Skip to content

Change(workflow): Update GitHub Actions workflow to use latest actions #113

Change(workflow): Update GitHub Actions workflow to use latest actions

Change(workflow): Update GitHub Actions workflow to use latest actions #113

Workflow file for this run

name: Deploy Webdoc
on:
push:
branches:
- master
- webdoc
paths:
- ".github/workflows/deploy-webdoc.yml"
- "web/**"
jobs:
deploy:
if: startsWith(github.repository, 'qd-today/qd')
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 24
cache: "pnpm"
cache-dependency-path: web/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: web/docs/.vitepress/dist