Skip to content

ci: fix trigger path #14

ci: fix trigger path

ci: fix trigger path #14

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
paths:
- .config
- .github/workflows/ci-cd.yml
- docs/**
- package.json
- pnpm-lock.yaml
- tsconfig.json
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run docs:build
- uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
- id: deployment
uses: actions/deploy-pages@v4